/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio
--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
/* === FONT & RESET START === */
/* === FONT & RESET END === */
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
/* === RESET START === */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-sizer,
.grid-item {
    width: 50%;
}

.grid-item {
    float: left;
}

.grid-item img {
    display: block;
    max-width: 100%;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
    display: block;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    background-color: #fff;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0px;
    margin-bottom: 0px;
}

ul {
    margin-bottom: 0px;
}

p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 300;
    color: #2a2a2a;
}

img {
    width: 100%;
    overflow: hidden;
}

/* === RESET END === */
/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
/* === GLOBAL START === */
html,
body {
    background: #fff;
    font-family: 'Roboto Slab', serif;
}

::selection {
    background: #4c5a89;
    color: #fff !important;
}

::-moz-selection {
    background: #4c5a89;
    color: #fff !important;
}

/* === RESPONSIVE GLOBAL START === */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden;
    }

    .mobile-top-fix {
        margin-top: 30px;
        margin-bottom: 0px;
    }

    .mobile-bottom-fix {
        margin-bottom: 30px;
    }

    .mobile-bottom-fix-big {
        margin-bottom: 60px;
    }
}

/* === RESPONSIVE GLOBAL END === */
.page-section {
    margin-top: 120px;
}

.section-heading {
    position: relative;
    z-index: 2;
}

.section-heading h6 {
    font-size: 15px;
    font-weight: 700;
    color: #e84797;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-heading h4 em {
    color: #e84797;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-style: normal;
    font-family: 'Paytone One', sans-serif;
}

.section-heading h4 {
    font-weight: bolder;
    font-size: 30px;
    color: #4a51a1;
    text-transform: uppercase;
}

.section-heading p {
    color: #fff;
    margin: 15px 0;
}

.section-heading .line-dec {
    width: 25%;
    height: 3px;
    background: linear-gradient(135deg, #4a51a1, #e84797);
    margin-top: 20px;
}

.border-first-button a {
    display: inline-block !important;
    padding: 10px 20px !important;
    color: #4c5a89 !important;
    border: 1px solid #4c5a89 !important;
    border-radius: 23px;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    transition: all .5s;
}

.border-first-button a:hover {
    background-color: #4c5a89;
    color: #fff !important;
}

@media (max-width: 1024px) {
    .section-heading h4 em {
        font-size: 40px;
    }

    .section-heading h4 {
        font-size: 22px;
    }

    .services {
        padding-top: 50px;
    }
}

@media (max-width: 576px) {
    .services .section-heading h4 {
        display: flex;
        flex-direction: column;  /* ép thành cột */
        align-items: center;     /* căn giữa ngang */
        text-align: center;
        line-height: 1.5;
    }

    .services .section-heading h4 em {
        display: block;          /* Khóa Học xuống dòng riêng */
        white-space: nowrap;     /* giữ 2 chữ trên cùng 1 dòng */
    }
}

/* === GLOBAL END === */
/*
---------------------------------------------
intro
---------------------------------------------
*/
.intro-banner {
    text-align: center;
    padding-top: 200px;
    margin-bottom: 100px;
    position: relative;
}

.intro-banner:after {
    content: '';
    background-image: url(../images/slider-left-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0px;
    width: 262px;
    height: 625px;
    z-index: 1;
}

.intro-banner img {
    max-width: 152px;
    margin-bottom: 30px;
}

.intro-banner h1 {
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.intro-banner h4 {
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.intro-banner a {
    display: inline-block !important;
    padding: 10px 20px !important;
    color: #4c5a89 !important;
    border: 1px solid #4c5a89 !important;
    border-radius: 23px;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    transition: all .5s;
    position: relative;
    z-index: 2;
}

.intro-banner a:hover {
    background-color: #4c5a89;
    color: #fff !important;
}

.demos {
    padding-top: 60px;
}

.demo-item {
    position: relative;
    z-index: 2;
}

.demos img {
    transition: all .5s;
    border-radius: 23px;
}

.demos img:hover {
    opacity: 1;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
}

.demos h4 {
    text-align: center;
    font-size: 20px;
    margin-top: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

/*
---------------------------------------------
header
---------------------------------------------
*/
/* === HEADER START === */
.pre-header {
    background-color: #efefef;
    height: 60px;
    padding: 15px 0px;
}

.pre-header ul li {
    display: inline-block;
}

.pre-header ul.info li {
    margin-right: 10px;
}

.pre-header ul.info li a {
    color: #4c5a89;
    font-size: 14px;
    transition: all .3s;
}

.pre-header ul.info li a:hover {
    color: #4c5a89;
}

.pre-header ul.info li a i {
    font-size: 18px;
    margin-right: 8px;
}

.pre-header ul.social-media {
    text-align: right;
}

.pre-header ul.social-media li {
    margin-left: 5px;
}

.pre-header ul.social-media li a {
    background-color: #4c5a89;
    color: #fff;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    transition: all .3s;
}

.pre-header ul.social-media li a:hover {
    background-color: #4c5a89;
}

.background-header {
    background-color: #fff !important;
    height: 80px !important;
    position: fixed !important;
    top: 0px;
    left: 0px;
    right: 0px;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.03);
}

.background-header .logo,
.background-header .main-nav .nav li a {
    color: #fff;
}

.background-header .main-nav .nav li:hover a {
    color: #fff;
}

.background-header .nav li a.active {
    position: relative;
    color: #fff;
}

.background-header .nav li a.active:after {
    background-color: #4c5a89;
    /*position: absolute;
    width: 100%;
    height: 1px;
    content: '';
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);*/
}

.header-area {
    background-color: #fff;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.03);
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 1000;
    height: 100px;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    transition: all .5s ease 0s;
}

.header-area .main-nav {
    min-height: 80px;
    background: transparent;
}

.header-area .main-nav .logo {
    float: left;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.header-area .main-nav .logo {
    line-height: 100px;
    float: left;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.header-area .main-nav .logo img {
    height: 50px;
    width: auto;
}

.background-header .main-nav .logo {
    line-height: 80px;
}

.background-header .main-nav .nav {
    margin-top: 20px !important;
}

.header-area .main-nav .nav {
    float: right;
    margin: 30px 0;
    background-color: transparent;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    z-index: 999;
}

.header-area .main-nav .nav li {
    padding-left: 15px;
    padding-right: 15px;
}

.header-area .main-nav .nav li a {
    display: block;
    font-weight: 500;
    font-size: 15px;
    text-transform: capitalize;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    height: 40px;
    line-height: 40px;
    border: transparent;
    letter-spacing: 1px;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
    color: white;
}

.header-area .main-nav .nav li.submenu {
    position: relative;
    padding-right: 30px;
}

.header-area .main-nav .nav li.submenu:after {
    font-family: 'Roboto Slab', serif;
    content: "\f107";
    font-size: 12px;
    color: #2a2a2a;
    position: absolute;
    right: 18px;
    top: 12px;
}

.background-header .main-nav .nav li.submenu:after {
    color: #2a2a2a;
}

.header-area .main-nav .nav li.submenu ul {
    position: absolute;
    width: 200px;
    box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
    top: 50px;
    opacity: 0;
    transform: translateY(+2em);
    visibility: hidden;
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.header-area .main-nav .nav li.submenu ul li {
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.header-area .main-nav .nav li.submenu ul li a {
    opacity: 1;
    display: block;
    background: #f7f7f7;
    color: #2a2a2a !important;
    padding-left: 20px;
    height: 40px;
    line-height: 40px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
}

.header-area .main-nav .nav li.submenu ul li a:hover {
    background: #fff;
    color: #fff !important;
    padding-left: 25px;
}

.header-area .main-nav .nav li.submenu ul li a:hover:before {
    width: 3px;
}

.header-area .main-nav .nav li.submenu:hover ul {
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 33px;
    width: 32px;
    height: 40px;
    text-indent: -9999em;
    z-index: 99;
    right: 40px;
    display: none;
}

.background-header .main-nav .menu-trigger {
    top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    background-color: #2a2a2a;
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
    background-color: #2a2a2a;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    background-color: #2a2a2a;
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 0;
    width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
    background-color: #2a2a2a;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
    content: "";
}

.header-area .main-nav .menu-trigger span {
    top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
    -moz-transform-origin: 33% 100%;
    -ms-transform-origin: 33% 100%;
    -webkit-transform-origin: 33% 100%;
    transform-origin: 33% 100%;
    top: -10px;
    z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
    -moz-transform-origin: 33% 0;
    -ms-transform-origin: 33% 0;
    -webkit-transform-origin: 33% 0;
    transform-origin: 33% 0;
    top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
    background-color: transparent;
    width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
    -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
    -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
    -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
    transform: translateY(6px) translateX(1px) rotate(45deg);
    background-color: #2a2a2a;
}

.background-header .main-nav .menu-trigger.active span:before {
    background-color: #2a2a2a;
}

.header-area .main-nav .menu-trigger.active span:after {
    -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
    -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
    -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
    transform: translateY(-6px) translateX(1px) rotate(-45deg);
    background-color: #2a2a2a;
}

.background-header .main-nav .menu-trigger.active span:after {
    background-color: #2a2a2a;
}

.header-area.header-sticky {
    min-height: 80px;
}

.header-area .nav {
    margin-top: 30px;
}

/*.header-area.header-sticky .nav li a.active {
    color: #4c5a89 !important;
    background: white;
}*/

/* === RESPONSIVE HEADER START === */
@media (max-width: 1200px) {
    .header-area .main-nav .nav li {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-area .main-nav .nav.nav-fx li:after,.header-area .main-nav .nav.nav-fx li:active,
    .header-area .main-nav .nav.nav-fx li:focus, .header-area .main-nav .nav.nav-fx li:hover:before{
        color: white;
        background: #4c5a8b;
    }

    .header-area .main-nav:before {
        display: none;
    }
}
/* === RESPONSIVE HEADER END === */

/* === RESPONSIVE HEADER START === */
@media (max-width: 992px) {

    .header-area .main-nav .nav li:nth-child(6),
    .background-header .main-nav .nav li:nth-child(6) {
        padding-right: 0px;
    }

    .background-header .nav li a.active:after {
        display: none;
    }
}
/* === RESPONSIVE HEADER END === */

/* === RESPONSIVE HEADER START === */
@media (min-width: 991px) {
    .header-area .main-nav .nav {
        display: flex !important;
    }
}
/* === RESPONSIVE HEADER END === */

/* === RESPONSIVE HEADER START === */
@media (max-width: 991px) {
    .pre-header ul.info li:last-child {
        display: none;
    }

    .background-header .main-nav .nav {
        margin-top: 80px !important;
    }

    .header-area .main-nav .logo {
        color: #1e1e1e;
    }

    /*.header-area.header-sticky .nav li a:hover,
    .header-area.header-sticky .nav li a.active {
        color: #4c5a89;
        background: white;
        opacity: 1;
    }*/
    .header-area.header-sticky .nav li.search-icon a {
        width: 100%;
    }

    .header-area {
        background-color: #fff;
        padding: 0px 15px;
        height: 100px;
        text-align: center;
    }

    .header-area .container {
        padding: 0px;
    }

    /*.header-area .logo {
        margin-left: 30px;
    }*/
    .header-area .menu-trigger {
        display: block !important;
    }

    .header-area .main-nav {
        overflow: hidden;
    }

    .header-area .main-nav .nav {
        float: none;
        width: 100%;
        display: none;
        -webkit-transition: all 0s ease 0s;
        -moz-transition: all 0s ease 0s;
        -o-transition: all 0s ease 0s;
        transition: all 0s ease 0s;
        margin-left: 0px;
    }

    .background-header .nav {
        margin-top: 80px;
    }

    .header-area.header-sticky .nav {
        margin-top: 100px;
    }

    .header-area .main-nav .nav li {
        width: 100%;
        border-bottom: 1px solid #e7e7e7;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .header-area .main-nav .nav.nav-fx {
        border-radius: 20px !important;
        background: #efe8e0;
    }

    .header-area .main-nav .nav li a {
        height: 50px !important;
        line-height: 50px !important;
        padding: 0px !important;
        border: none !important;
        color: #4c5a89;
    }

    .header-area .main-nav .nav li a:hover {
        color: white;
        background: #4c5a89;
    }

    .header-area .main-nav .nav li:hover {
        box-shadow: 0 0 10px rgba(76, 90, 139, 0.35);
        padding: 0 12px;
        border-radius: 20px !important;
        color: white !important;
        background: #4c5a89 !important;
    }

    .header-area .main-nav .nav.nav-fx li a::after {
        display: none !important;
    }

    .header-area .main-nav .nav li.submenu ul {
        position: relative;
        visibility: inherit;
        opacity: 1;
        z-index: 1;
        transform: translateY(0%);
        transition-delay: 0s, 0s, 0.3s;
        top: 0px;
        width: 100%;
        box-shadow: none;
        height: 0px;
    }

    .header-area .main-nav .nav li.submenu ul li a {
        font-size: 12px;
        font-weight: 400;
    }

    .header-area .main-nav .nav li.submenu ul li a:hover:before {
        width: 0px;
    }

    .header-area .main-nav .nav li.submenu ul.active {
        height: auto !important;
    }

    .header-area .main-nav .nav li.submenu:after {
        color: #3B566E;
        right: 25px;
        font-size: 14px;
        top: 15px;
    }

    .header-area .main-nav .nav li.submenu:hover ul, .header-area .main-nav .nav li.submenu:focus ul {
        height: 0px;
    }
}
/* === RESPONSIVE HEADER END === */


/* === RESPONSIVE HEADER START === */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .header-area .container, .header-area .col-12 {
        padding: 0 !important;
    }
}
/* === RESPONSIVE HEADER END === */


/* === RESPONSIVE HEADER START === */
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .hide-on-ipad {
        display: none;
    }

    .header-area .container, .header-area .col-12 {
        padding: 0 !important;
    }
}
/* === RESPONSIVE HEADER END === */

/* === HEADER END === */
/*
---------------------------------------------
preloader
---------------------------------------------
*/
/* === PRELOADER START === */
.js-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    z-index: 9999;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@-webkit-keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@-webkit-keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

@keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

.preloader-inner {
    position: relative;
    width: 142px;
    height: 40px;
    background: #fff;
}

.preloader-inner .dot {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 12px;
    left: 15px;
    background: #4c5a89;
    border-radius: 50%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-animation: dot 2.8s infinite;
    animation: dot 2.8s infinite;
}

.preloader-inner .dots {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    margin-top: 12px;
    margin-left: 31px;
    -webkit-animation: dots 2.8s infinite;
    animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    background: #4c5a89;
    border-radius: 50%;
}

/* === PRELOADER END === */
/*
---------------------------------------------
Banner Style
---------------------------------------------
*/
/* === BANNER START === */
.main-banner {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 0;
    padding-top: 226px;
    position: relative;
    overflow: hidden;
}

.main-banner:after {
    content: '';
    background-image: url(../images/slider-left-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 60px;
    width: 262px;
    height: 625px;
    z-index: 1;
}

.main-banner:before {
    content: '';
    background-image: url(../images/slider-right-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 60px;
    width: 1159px;
    height: 797px;
    z-index: -1;
}

.main-banner .left-content {
    margin-right: 15px;
    padding-right: 150px;
}

.main-banner .left-content h6 {
    text-transform: capitalize;
    font-size: 20px;
    font-weight: 700;
    color: #4c5a89;
    margin-bottom: 15px;
}

.main-banner .left-content .brand-title {
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa theo chiều ngang */
    line-height: 1;
    margin: 0 0 10px 0;
}

.main-banner .left-content h1 {
    font-family: 'Paytone One', sans-serif;;
    z-index: 2;
    position: relative;
    font-weight: 800;
    font-size: 6rem;
    text-transform: uppercase;
    color: #e8ac9e;
    margin: 0;
    font-style: normal;
}

.main-banner .left-content .troong-name {
    color: #4c5a89;
    font-family: 'Roboto Slab', serif;
    font-size: 5rem;
    font-weight: 600;
    /*text-transform: uppercase;*/
    margin-top: -20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 3px 3px 0 #bfc8e1, 6px 6px 0 #e0e3f3;
}

.main-banner .left-content p {
    font-family: 'Roboto Slab', serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: #e84797;
    font-kerning: none;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    font-style: italic;
    text-shadow: 1px 1px 0px #d68bb7, 2px 2px 0px #f3c4e0;
}

.main-banner .right-image {
    position: relative;
    z-index: 20;
}

.main-banner .vn-de-flow {
    margin: 0 auto;
    max-width: 100%;
}

/* === BANNER END === */
/*
---------------------------------------------
About Style
---------------------------------------------
*/
/* === ABOUT START === */
#about {
    padding-top: 120px;
}

.about-left-image img {
    margin-right: 45px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.about-right-content p {
    margin-top: 30px;
    margin-bottom: 30px;
}

.about-right-content {
    padding-left: 0;
}

.about-right-content .button-about-wrapper .button-about{
    position: relative;
    display: inline-block;
    padding: 8px 36px;
    border-radius: 50px;
    color: #4c5a89;
    border: 1px solid #4c5a89;
    background: none;
    font-size: 16px;
    transition: all .3s ease;
    align-items: center;
    text-align: left;
    z-index: 0;
}
.about-right-content .button-about-wrapper .button-about:hover {
    background:
            linear-gradient(135deg, #4c64cc, #8d89ba) padding-box,
            linear-gradient(135deg, #4c64cc, #8d89ba) border-box;
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 14px rgba(76, 90, 139, .28);
}

/* active: nhấn xuống */
.about-right-content .button-about-wrapper .button-about:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(76, 90, 139, .25);
}

/* focus: thêm viền sáng */
.about-right-content .button-about-wrapper .button-about:focus-visible {
    outline: 3px solid rgba(183, 228, 249, .5);
    outline-offset: 3px;
}

/* === RESPONSIVE ABOUT START === */
@media (max-width: 992px) {
    .about-right-content .button-about-wrapper {
        text-align: center;
    }
}

@media (min-width: 992px) {
    .about-right-content {
        margin-left: 20px;
    }
}

/* === RESPONSIVE ABOUT END === */
.skills-content {
    position: relative;
    z-index: 1;
    margin-top: -50px;
    background-color: #f5f5f5;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    padding: 110px 0px 50px 0px;
}

.skill-item {
    text-align: center;
}

.progress {
    width: 150px;
    height: 150px;
    line-height: 150px;
    background: none;
    margin: 0 auto;
    box-shadow: none;
    position: relative;
}

.progress:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
}

.progress > span {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1;
}

.progress .progress-left {
    left: 0;
}

.progress .progress-bar {
    width: 100%;
    height: 100%;
    background: none;
    border-width: 5px;
    border-style: solid;
    position: absolute;
    top: 0;
    border-color: #fd6a54;
}

.first-skill-item .progress .progress-bar {
    border-color: #4c5a89;
}

.second-skill-item .progress .progress-bar {
    border-color: #e84797;
}

.third-skill-item .progress .progress-bar {
    border-color: #f58b56;
}

.progress .progress-left .progress-bar {
    left: 100%;
    border-top-right-radius: 75px;
    border-bottom-right-radius: 75px;
    border-left: 0;
    -webkit-transform-origin: center left;
    transform-origin: center left;
}

.progress .progress-right {
    right: 0;
}

.progress .progress-right .progress-bar {
    left: -100%;
    border-top-left-radius: 75px;
    border-bottom-left-radius: 75px;
    border-right: 0;
    -webkit-transform-origin: center right;
    transform-origin: center right;
}

.progress .progress-value {
    text-align: center;
    color: #2a2a2a;
    display: flex;
    width: 100%;
    border-radius: 50%;
    font-size: 35px;
    text-align: center;
    line-height: 25px;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: 700;
}

.progress .progress-value div {
    margin-top: 10px;
}

.progress .progress-value span {
    font-size: 18px;
    text-transform: none;
    color: #2a2a2a;
    font-weight: 300;
}

/* This for loop creates the  necessary css animation names
Due to the split circle of progress-left and progress right, we must use the animations on each side.
*/
.progress[data-percentage="10"] .progress-right .progress-bar {
    animation: loading-1 1.5s linear forwards;
}

.progress[data-percentage="10"] .progress-left .progress-bar {
    animation: 0;
}

.progress[data-percentage="20"] .progress-right .progress-bar {
    animation: loading-2 1.5s linear forwards;
}

.progress[data-percentage="20"] .progress-left .progress-bar {
    animation: 0;
}

.progress[data-percentage="30"] .progress-right .progress-bar {
    animation: loading-3 1.5s linear forwards;
}

.progress[data-percentage="30"] .progress-left .progress-bar {
    animation: 0;
}

.progress[data-percentage="40"] .progress-right .progress-bar {
    animation: loading-4 1.5s linear forwards;
}

.progress[data-percentage="40"] .progress-left .progress-bar {
    animation: 0;
}

.progress[data-percentage="50"] .progress-right .progress-bar {
    animation: loading-5 1.5s linear forwards;
}

.progress[data-percentage="50"] .progress-left .progress-bar {
    animation: 0;
}

.progress[data-percentage="60"] .progress-right .progress-bar {
    animation: loading-5 1.5s linear forwards;
}

.progress[data-percentage="60"] .progress-left .progress-bar {
    animation: loading-1 1.5s linear forwards 1.5s;
}

.progress[data-percentage="70"] .progress-right .progress-bar {
    animation: loading-5 1.5s linear forwards;
}

.progress[data-percentage="70"] .progress-left .progress-bar {
    animation: loading-2 1.5s linear forwards 1.5s;
}

.progress[data-percentage="80"] .progress-right .progress-bar {
    animation: loading-5 1.5s linear forwards;
}

.progress[data-percentage="80"] .progress-left .progress-bar {
    animation: loading-3 1.5s linear forwards 1.5s;
}

.progress[data-percentage="90"] .progress-right .progress-bar {
    animation: loading-5 1.5s linear forwards;
}

.progress[data-percentage="90"] .progress-left .progress-bar {
    animation: loading-4 1.5s linear forwards 1.5s;
}

.progress[data-percentage="100"] .progress-right .progress-bar {
    animation: loading-5 1.5s linear forwards;
}

.progress[data-percentage="100"] .progress-left .progress-bar {
    animation: loading-5 1.5s linear forwards 1.5s;
}

@keyframes loading-1 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(36);
        transform: rotate(36deg);
    }
}

@keyframes loading-2 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(72);
        transform: rotate(72deg);
    }
}

@keyframes loading-3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(108);
        transform: rotate(108deg);
    }
}

@keyframes loading-4 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(144);
        transform: rotate(144deg);
    }
}

@keyframes loading-5 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(180);
        transform: rotate(180deg);
    }
}

.progress {
    margin-bottom: 1em;
}

/* === ABOUT END === */
/*
---------------------------------------------
Services Style
---------------------------------------------
*/
/* === SERVICES START === */
.services {
    padding-top: 100px;
    position: relative;
    overflow: visible;
    scroll-margin-top: 100px;
}

.services:after {
    content: '';
    background-image: url(../images/services-left-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0px;
    width: 786px;
    height: 1217px;
    z-index: 1 !important;
}

.services:before {
    content: '';
    background-image: url(../images/services-right-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 400px;
    width: 161px;
    height: 413px;
    z-index: 0;
}

.services .section-heading {
    text-align: center;

}

.services .section-heading .line-dec {
    margin: 0 auto;
    margin-top: 20px;
}

.services .naccs {
    position: relative;
    z-index: 1;
}

.services .icon {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.services .naccs .menu div h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    width: 100%;
}

.services .icon img {
    margin-bottom: 10px;
    max-width: 60px;
    min-width: 60px;
}

.services .naccs .menu {
    text-align: center;
    margin-bottom: 30px;
}

.services .naccs .menu div {
    color: #2a2a2a;
    margin: 0px;
    width: 15%;
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    position: relative;
    border-radius: 15px;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.services .naccs .menu div .thumb {
    display: inline-block;
    width: 100%;
    padding: 30px 0px;
    background-color: #fff;
}

.services .naccs .menu div.active {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.services ul.nacc {
    height: 100% !important;
    position: relative;
    min-height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.services ul.nacc li {
    opacity: 0;
    transform: translateX(-50px);
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.services ul.nacc li.active {
    transition-delay: 0.3s;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translateX(0px);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 15px;
    padding: 80px 120px 50px 120px;
}

.services ul.nacc li {
    width: 100%;
}

.services ul.nacc li .right-image img {
    max-width: 420px;
    float: right;
}

.services .nacc .thumb h4 {
    color: #2a2a2a;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 25px;
}

.services .nacc .thumb .main-white-button {
    text-align: right;
    margin-top: 40px;
}

.services .nacc .thumb .main-white-button a {
    background-color: #8d99af;
    color: #fff;
}

.services .nacc .thumb .main-white-button a i {
    background-color: #fff;
    color: #8d99af;
}

.services .left-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: #4c5a89 !important;
}

.services .left-text p {
    margin-bottom: 30px;
}

.nacc .ticks-list span {
    display: inline-block;
    opacity: 1;
    margin-right: 45px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 400;
}

/* === SERVICES END === */
/*
---------------------------------------------
Free Quote
---------------------------------------------
*/
/* === CONTACT START === */
.contact {
    background-image: url(../images/contact-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact .container-fluid {
    max-width: 1200px;
    padding: 0 30px;
}

.contact .section-heading {
    margin-bottom: 60px;
}

.contact .section-heading h6 {
    color: #fff;
}

.contact .section-heading h4 {
    color: #fff;
}

.contact .section-heading .line-dec {
    margin: 0 auto;
    background: #fff ;
    margin-top: 20px;
}

/* === CONTACT END === */
/*
---------------------------------------------
Portfolio
---------------------------------------------
*/
/* === PORTFOLIO START === */
.our-portfolio {
    padding-top: 130px;
    overflow: hidden;
    position: relative;
}

.our-portfolio:before {
    content: '';
    background-image: url(../images/portfolio-right-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 0px;
    width: 414px;
    height: 861px;
    z-index: 1;
}

.our-portfolio:after {
    content: '';
    background-image: url(../images/portfolio-left-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0px;
    width: 677px;
    height: 759px;
    z-index: 1;
}

.our-portfolio .section-heading {
    margin-bottom: 80px;
}

.our-portfolio .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
    z-index: 2;
}

.our-portfolio .item {
    position: relative;
    z-index: 222;
}

.portfolio-item {
    border-radius: 25px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

.portfolio-item .thumb {
    position: relative;
    border-radius: 50px;
}

.portfolio-item:hover .down-content h4,
.portfolio-item:hover .down-content span {
    color: #4c5a89;
}

.portfolio-item .thumb img {
    border-radius: 23px;
    overflow: hidden;
}

.portfolio-item .down-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 8px;
    transition: all .3s;
}

.portfolio-item .down-content span {
    font-size: 15px;
    color: #2a2a2a;
    transition: all .3s;
}

.our-portfolio .owl-nav {
    display: inline-block !important;
    position: absolute;
    top: -125px;
    right: 15%;
    max-width: 1320px;
}

.our-portfolio .owl-nav .owl-next {
    margin-left: 10px;
}

.our-portfolio .owl-nav span {
    width: 46px;
    height: 46px;
    display: inline-block;
    text-align: center;
    line-height: 46px;
    font-size: 30px;
    background-color: #eee;
    border-radius: 50%;
    color: #fff;
    transition: all 0.5s;
}

.our-portfolio .owl-nav span:hover {
    color: #fff;
    background-color: #4c5a89;
}

/* === PORTFOLIO END === */
/*
---------------------------------------------
Blog
---------------------------------------------
*/
.blog:before {
    content: '';
    background-image: url(../images/blog-left-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0px;
    width: 961px;
    height: 1020px;
    z-index: 0;
}

.blog {
    position: relative;
    padding-top: 110px;
}

.blog .section-heading {
    text-align: center;
    margin-bottom: 80px;
}

.blog .section-heading .line-dec {
    margin: 0 auto;
    margin-top: 20px;
}

.show-up {
    position: relative;
    z-index: 200;
}

.blog-post {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
}

.blog-post .thumb img {
    border-top-right-radius: 23px;
    border-top-left-radius: 23px;
}

.blog-post .thumb img {
    height: 450px;
    width: auto;
}

@media (max-width: 1280px) {
    .post-item .right-content span.category {
        margin-top: 20px;
    }

    .post-item .right-content span.date {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .blog-post .thumb img:nth-child(1) {
        height: 350px;
        width: 100%;
    }

    .blog-posts .post-item .thumb img {
        height: 250px;
        width: auto;
    }

    .blog-posts .post-item .thumb img:last-child {
        height: 250px;
        width: 250px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .blog-post .thumb img:nth-child(1) {
        height: 450px;
        width: 100%;
    }

    .blog-posts .post-item .thumb img {
        height: 230px;
        width: auto;
    }

    .blog-posts .post-item .thumb img:last-child {
        height: 230px;
        width: 230px;
    }
}

@media (max-width: 768px) {
    .blog-post .thumb img:nth-child(1) {
        height: 300px;
        width: 100%;
    }

    .blog-posts .post-item .thumb img:last-child {
        height: 250px;
        width: 250px;
    }
}

.blog-post .down-content {
    border-bottom-right-radius: 23px;
    border-bottom-left-radius: 23px;
    background-color: #fff;
    padding: 30px;
}

.blog-post .down-content span.category {
    font-size: 15px;
    color: #fff;
    padding: 8px 12px;
    background-color: #e84797;
    border-radius: 18px;
    display: inline-block;
}

.blog-post .down-content span.date {
    font-size: 15px;
    color: #2a2a2a;
    text-align: right;
    float: right;
    margin-top: 4px;
}

.blog-post .down-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 30px;
}

.blog-post .down-content p {
    margin-bottom: 30px;
}

.blog-post .down-content span.author {
    font-size: 15px;
    color: #2a2a2a;
}

.blog-post .down-content span.author img {
    max-width: 56px;
    border-radius: 50%;
    margin-right: 15px;
}

.blog-post .down-content .border-first-button {
    display: inline-block;
    float: right;
}

.blog-posts {
    margin-left: 30px;
}

.post-item {
    margin-bottom: 62px;
}

.last-post-item {
    margin-bottom: 0px;
}

.post-item .thumb {
    display: inline-block;
    float: left;
    margin-right: 30px;
}

.post-item .thumb img {
    border-radius: 23px;
    display: inline-block;
}

.post-item .right-content {
    padding-top: 20px;
}

.post-item .right-content span.category {
    font-size: 15px;
    color: #fff;
    padding: 8px 12px;
    background-color: #e84797;
    border-radius: 18px;
    display: inline-block;
}

.post-item .right-content span.date {
    font-size: 15px;
    color: #2a2a2a;
    text-align: right;
    float: right;
    margin-top: 4px;
}

.post-item .right-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 30px;
}

/*
---------------------------------------------
Footer Style
---------------------------------------------
*/
footer {
    background-image: url(../images/footer-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 130px;
}

footer p {
    text-align: center;
    margin: 20px 0px;
    color: #fff;
}

footer p a {
    color: #fff;
    transition: all .5s;
}

/*
---------------------------------------------
responsive
---------------------------------------------
*/
@media (max-width: 1200px) {
    .header-area .main-nav .logo h4 {
        font-size: 24px;
    }

    .header-area .main-nav .logo h4 img {
        max-width: 25px;
        margin-left: 0px;
    }

}

@media (max-width: 992px) {
    .intro-banner:before {
        display: none;
    }

    form#contact {
        overflow: hidden;
    }

    .header-area .main-nav .logo h4 {
        font-size: 20px;
    }

    .main-banner .left-content {
        margin-right: 0px;
    }

    .main-banner {
        text-align: center;
        padding: 200px 0px 0px 0px;
    }

    .main-banner:before {
        display: none;
    }

    /*.main-banner .right-image {
        margin: 30px auto 0px auto;
        text-align: center;
    }*/

    .features-item {
        margin-bottom: 45px;
    }

    .last-features-item,
    .last-skill-item {
        margin-bottom: 0px !important;
    }

    .skill-item {
        margin-bottom: 30px;
    }

    .main-banner .right-image, .about-left-image img {
        display: none;
    }

    .services .naccs .menu div {
        font-size: 15px;
        font-weight: 500;
    }

    .service-item {
        text-align: center;
    }

    .service-item .icon {
        margin-top: 0px;
        margin-bottom: 30px;
    }

    .about-us .left-image {
        margin-right: 30px;
        margin-left: 30px;
        margin-bottom: 45px;
    }

    .blog-posts {
        margin-left: 0px;
        margin-top: 30px;
    }

    .post-item {
        margin-bottom: 70px;
    }

    .our-portfolio .owl-nav {
        display: none !important;
    }

    .contact-info {
        margin-top: 60px;
    }

    form#contact {
        padding: 45px;
    }
}

@media (max-width: 767px) {
    .header-area .main-nav .logo h4 {
        font-size: 30px;
    }

    .header-area .main-nav .logo h4 img {
        max-width: 30px;
        margin-left: 5px;
    }

    .main-banner .info-stat {
        margin-bottom: 15px;
    }

    .service-item {
        text-align: center;
        padding: 30px;
    }

    .service-item .icon {
        float: none;
        margin-right: 0px;
        margin-bottom: 15px;
    }

    .service-item .right-content {
        display: inline-block;
    }

    .services .naccs .menu div .thumb {
        padding: 5px;
    }

    .services .icon img {
        margin: 0px;
    }

    .services ul.nacc li.active {
        padding: 45px;
    }

    .services .naccs .menu div {
        font-size: 0px;
    }

    .services ul.nacc li .right-image img {
        float: none;
    }

    .our-portfolio .section-heading,
    .about-us .section-heading,
    .about-us .about-item,
    .about-us p,
    .about-us .main-green-button {
        text-align: center;
    }

    .our-portfolio .section-heading .line-dec {
        margin: 0 auto;
        margin-top: 20px;
    }

    .our-services .section-heading {
        margin-left: 15px;
        margin-right: 15px;
    }

    .contact form input {
        margin-left: 0px;
        padding: 0px 30px;
    }

    .contact form button {
        margin-left: 0px;
        border-bottom-left-radius: 40px;
        border-top-right-radius: 0px;
    }

    .blog-posts {
        margin-left: 0px;
        margin-top: 30px;
    }

    .post-item {
        margin-bottom: 30px;
    }

    .post-item .thumb img {
        max-width: 250px;
    }

    .post-item .right-content p {
        display: none;
    }

    .about-us .about-item {
        margin-top: 15px;
    }

    form#contact {
        padding: 30px;
    }
}

.vn {
    margin-top: 30px;
}

.services .courses {

    position: relative;
    z-index: 2;
}

.courses .col-lg-6 {
    margin-top: 3rem;
}

.card-custom {
    background: linear-gradient(to bottom, #4c64cca3, #8d89babd); /* dùng màu chủ đạo mới */
    border-radius: 15px; /* giữ 15px đẹp hơn 10px */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.btn-course {
    background-color: white;
    color: #4c5a89;
    border-radius: 20px;
    margin-bottom: 15px;
    width: 85%;
    min-height: 0;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn-course:hover,
.btn-course.active {
    background-color: #e7ebf1;
}

.course-info {
    background-color: white;
    color: #4c5a89;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.title-block {
    /*background-color: #4c5a89;*/
    color: white;
    padding: 10px;
    border-radius: 20px;
    font-size: 2rem;
    font-weight: bold;
    /*margin-bottom: 20px;*/
    text-transform: uppercase;
}

#study-france {
    padding-top: 100px;
    position: relative;
    z-index: 2;
}

.study-france-right-content p {
    margin-top: 30px;
    margin-bottom: 30px;
}

.study-france {
    padding-right: 0;
}

@media (min-width: 992px) {
    .study-france-left-image {
        margin-right: 20px;
    }
}

.study-france-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

/* Phần Du học Pháp */
.study-abroad {
    padding-top: 100px;
    padding-bottom: 80px;
}

.study-abroad-left-content p {
    margin-top: 30px;
    margin-bottom: 30px;
    color: #2a2a2a;
}

.study-abroad-left-content span {
    font-weight: 600;
}

.study-abroad-right-image {
    position: relative;
    text-align: center;
}

.study-abroad-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

/******* button ********/
.button-wrapper {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 30;
}

.study-france-box .btn-more {
    margin-top: 25px;
}

.study-abroad-box .btn-more {
    margin-top: 25px;
}

/* Responsive */
@media (min-width: 992px) {
    .study-abroad-left-content {
        padding-right: 30px;
    }
}

.btn-more {
    position: relative;
    display: inline-block;
    padding: 12px 34px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(130deg, #4c64ccdb, #8d89bae0); /* màu chủ đạo mới */
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    z-index: 0;
}

/* lớp phát sáng */
.btn-more::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: none;
    filter: blur(1.5px);
    box-shadow: 0 0 12px rgba(183, 228, 249, 0.8); /* đổi glow sang #b7e4f9 */
    animation: glow-pulse 3s ease-in-out infinite alternate;
    z-index: -1;
}

/* hover: nổi + sáng */
.btn-more:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(130deg, #4c64cc, #8d89ba); /* hover sáng hơn */
}

/* active */
.btn-more:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(76, 90, 139, .28), 0 2px 6px rgba(0, 0, 0, .10);
}

/* focus */
.btn-more:focus-visible {
    outline: 3px solid rgba(183, 228, 249, .5);
    outline-offset: 3px;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 0 rgba(183, 228, 249, 0),
        0 0 0 rgba(183, 228, 249, 0);
    }
    50% {
        box-shadow: 0 0 8px rgba(183, 228, 249, 1),
        0 0 16px rgba(183, 228, 249, 0.95);
    }
    100% {
        box-shadow: 0 0 0 rgba(183, 228, 249, 0),
        0 0 0 rgba(183, 228, 249, 0);
    }
}



/* mobile */
@media (max-width: 768px) {
    .btn-more {
        padding: 12px 28px;
        font-size: 16px;
    }
}


/* end button */
/* ROCKET TIM HIEU TIENG PHAP */
.rocket-heading {
    position: relative;
}

/* Rocket trong heading */
.heading-rocket {
    position: absolute;
    width: 200px !important;
    height: 200px !important;
    bottom: -30px;
    left: 70%;
    transform: translateX(-50%) /* Căn giữa */ rotate(0deg) /* Nghiêng trái nhẹ */ scaleX(2); /* Tùy chỉnh tỷ lệ */
    z-index: 10;
    pointer-events: none;
    transition: all 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Hiệu ứng khi hover toàn bộ heading */
.rocket-heading:hover .heading-rocket {
    animation: headingRocketLaunch 1s forwards;
}

@keyframes headingRocketLaunch {
    0% {
        transform: translateX(-50%) translateY(0) rotate(0);
    }
    50% {
        transform: translateX(-30%) translateY(-80px) rotate(15deg);;
        opacity: 0.5;
    }
    100% {
        transform: translateX(20%) translateY(-200px) rotate(30deg) scale(0.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .heading-rocket {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    .heading-rocket {
        width: 200px !important;
        height: 200px !important;
        left: 75%;
    }
}

/***** mobile only *****/
@media only screen and (max-width: 992px) {
    .study-france-left-col {
        display: none;
    }
}

/***** pc only *****/
@media only screen and (min-width: 1024px) {
    .mobile-only {
        display: none;
    }
}

/* Form tùy chỉnh */
#contact-form .form-control {
    background: white;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 15px;
    transition: all 0.3s;
}

#contact-form fieldset {
    width: 100%;
}

#contact-form .form-control:focus {
    border-color: #4c5a89;
    box-shadow: 0 0 10px rgba(76, 90, 139, 0.2);
}

#contact-form textarea.form-control {
    height: 150px;
    padding: 15px 20px;
    resize: vertical;
}

#contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234c5a8b'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
}

#contact-form .main-button {
    width: 30%;
    height: 50px;
    background-color: #4c5a89;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 30px;
}

#contact-form .main-button:hover {
    background-color: #3a486b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 768px) {
    #contact-form .main-button {
        width: 50%;
    }
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f7fa;
    transition: all 0.3s ease;
}

.contact-icon {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
}

/* Màu nền khi hover cho từng loại icon */
.icon-link:hover {
    transform: translateY(-3px);
}

.facebook:hover {
    background: #0084ff;
}

.tiktok:hover {
    background: #252525;
}

.whatsapp:hover {
    background: #25D366;
}

.zalo:hover {
    background: #0180C7;
}

.email:hover {
    background: #D44638;
}

/* Đảm bảo icon không bị invert màu khi hover */
.icon-link:hover .contact-icon {
    filter: none !important;
}

.title-block {
    /*border-bottom: 2px solid #e84797;*/
}

.course-info {
    white-space: normal;
    height: auto;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .modal-lg {
        margin: 20px;
    }

    .modal-body .row {
        flex-direction: column;
    }

    .modal-body .col-md-6 {
        width: 100%;
    }
}

.styled-bullet-list {
    padding-left: 25px; /* Thụt toàn bộ danh sách */
    margin: 0;
    list-style-type: none; /* Ẩn bullet mặc định */
}

.styled-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    line-height: 1.6;
    font-size: 16px;
    color: #2a2a2a;
}

.styled-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4c5a89; /* Màu bullet */
    font-weight: bold;
    font-size: 18px;
}

.study-france-right-content span {
    font-weight: 600;
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .main-banner .left-content h1 {
        font-size: 5.5rem;
    }

    .main-banner .left-content .troong-name {
        font-size: 4.5rem;
    }

    .main-banner .left-content {
        padding-right: 100px;
    }

    .main-banner .left-content p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1200px) {
    .vn-de-flow {
        max-width: 90% !important;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .main-banner .left-content h1 {
        font-size: 5rem;
    }

    .main-banner .left-content .troong-name {
        font-size: 4.5rem;
    }

    .main-banner .left-content {
        padding-right: 50px;
    }

    .main-banner .left-content p {
        font-size: 16px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 1023px) {
    .main-banner .left-content h1 {
        font-size: 6rem;
    }

    .main-banner .left-content .troong-name {
        font-size: 5.5rem;
    }

    .main-banner .left-content {
        padding-right: 50px;
    }

    .main-banner .left-content p {
        font-size: 20px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 992px) {
    .main-banner .left-content {
        padding-right: 0;
    }
}

@media only screen and (max-width: 576px) {
    .main-banner {
        padding-top: 180px;
    }

    .main-banner .left-content h1 {
        font-size: 3.5rem;
    }

    .main-banner .left-content .troong-name {
        font-size: 3.5rem;
        margin-bottom: 10px;
    }

    .main-banner .left-content {
        padding-right: 0;
    }

    .main-banner .left-content p {
        font-size: 12px;
        margin-bottom: 0;
    }

    .vn-de-flow {
        max-width: 80% !important;
    }
}

/*ROCKET KHÓA HỌC*/
.rocket-courses-boxes {
    position: relative;
    height: 200px; /* Điều chỉnh theo nhu cầu */
    width: 100%;
    overflow: hidden;
    z-index: 9999;
}

.course-rocket {
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    z-index: 9999;
    transition: transform 0.5s ease-in-out, z-index 0.3s ease;
    will-change: transform;
}

.rocket-flying::after {
    opacity: 1;
}

@media only screen and (max-width: 767px) {
    .course-rocket {
        display: none;
    }
}

/* Fix flickering modal */
.modal.fade {
    transition: opacity 0.3s linear;
}

/* Fix scrollbar jump */
body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.75) !important;
}

/* Lửa luôn hiển thị khi có thuộc tính data-fire */
dotlottie-wc[data-fire]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background: linear-gradient(to top,
    rgba(255, 50, 0, 0.8) 0%,
    rgba(255, 150, 0, 0.9) 50%,
    rgba(255, 200, 0, 0.6) 100%);
    border-radius: 50% 50% 20% 20%;
    filter: blur(10px);
    z-index: -1;
    animation: flame-flicker 0.5s infinite alternate;
}

@keyframes flame-flicker {
    0% {
        opacity: 0.9;
        height: 40px;
    }
    100% {
        opacity: 1;
        height: 45px;
    }
}

/* Đảm bảo lottie animation vẫn hiển thị đúng */
dotlottie-wc {
    position: relative;
}

/********** nav fix *************/
.header-area .main-nav .nav.nav-fx {
    position: relative;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 40px;
    /*background: red;*/
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* Link cơ bản + underline gradient */
.header-area .main-nav .nav.nav-fx li a {
    position: relative;
    z-index: 1;
    padding: 0 10px;
    border-radius: 999px;
    color: #4c5a89;
    transition: all 0.3s ease;
}

.header-area .main-nav .nav.nav-fx li:hover {
    color: white;
    background: #4c5a89;
    box-shadow: 0 0 10px rgba(76, 90, 139, 0.35);
    border-radius: 999px;
}

.header-area .main-nav .nav.nav-fx li:hover a {
    color: white;
}

.header-area .main-nav .nav.nav-fx li.active {
    color: white;
    background: #4c5a89;
    box-shadow: 0 0 10px rgba(76, 90, 139, 0.35);
    border-radius: 999px;
}

.header-area .main-nav .nav.nav-fx li.active a {
    color: white;
}

/*.header-area .main-nav .nav.nav-fx li a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    bottom: -6px;
    width: 70%;
    height: 2px;
    background: white;

    box-shadow: 0 0 10px rgba(76, 90, 139, .35);
    transition: transform .35s ease;
}*/

.header-area .main-nav .nav.nav-fx li:hover a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Bootstrap sẽ tự thêm .is-invalid / .is-valid, ta chỉ làm đẹp thêm */
.form-field {
    position: relative;
}

.form-field .inline-error {
    position: absolute;
    right: 12px; /* nằm trong ô, góc phải */
    top: 50%;
    transform: translateY(-50%);
    max-width: 60%;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    color: #e53935;
    pointer-events: none; /* không chặn gõ */
    opacity: 0;
    transition: opacity .2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Khi có lỗi */
.form-field.has-error .inline-error {
    opacity: 1;
}

/* Viền ô khi lỗi/đúng (giữ style bootstrap mở rộng) */
.form-control.is-invalid {
    border-color: #e53935;
    box-shadow: 0 0 0 .2rem rgba(229, 57, 53, .15);
}

.form-control.is-valid {
    border-color: #4caf50;
    box-shadow: 0 0 0 .2rem rgba(76, 175, 80, .15);
}

/* Thông báo trạng thái gửi */
#form-status {
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    font-size: 15px;
    display: none;
    animation: fadeIn .35s ease forwards;
}

#form-status.sending {
    background: linear-gradient(90deg, #2196f3, #64b5f6);
    color: #fff;
    box-shadow: 0 0 10px rgba(33, 150, 243, .5);
}

#form-status.success {
    background: linear-gradient(90deg, #4caf50, #81c784);
    color: #fff;
    box-shadow: 0 0 10px rgba(76, 175, 80, .5);
}

#form-status.error {
    background: linear-gradient(90deg, #e53935, #ef5350);
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 83, 80, .5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*
---------------------------------------------
Teacher
---------------------------------------------
*/
.teachers {
    padding: 0;
    padding-top: 100px;
    position: relative;
    z-index: 0;
    isolation: isolate;
}

.teachers .line-dec {
    margin: 20px auto 0;
    /*width: 20%;*/
}

.teachers:before,
.teachers:after {
    content: '';
    position: absolute;
    top: 0;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}
.teachers:before {
    right: 0;
    width: 414px;
    height: 861px;
    background-image: url(../images/portfolio-right-dec.jpg);
}
.teachers:after {
    left: 0;
    width: 677px;
    height: 759px;
    background-image: url(../images/portfolio-left-dec.jpg);
}

.teacher-viewport {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    z-index: 0;
}

.teacher-rail {
    position: relative;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-top: 20px;
    z-index: 1;
}
.teacher-rail::-webkit-scrollbar { display: none; }

.teacher-card {
    flex: 0 0 calc((100% - 3*24px) / 4);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    border: 1px solid #e5e9f6;
    outline: 1px solid transparent;
    overflow: hidden;
    cursor: grab;
    transition: background .25s ease, outline-color .25s ease, border-color .25s ease;
    box-shadow: none !important;
}
.teacher-card:active { cursor: grabbing; }

.teacher-card:hover {
    background: linear-gradient(180deg, #f6faff 0%, #eef4ff 100%);
    border-color: #d6e3ff;
    outline-color: #cfe0ff;
}

.teacher-photo {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}
.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.teacher-card:hover .teacher-photo img { transform: scale(1.06); }

.teacher-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(60, 90, 200, .18), rgba(60, 90, 200, 0));
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.teacher-card:hover .teacher-overlay { opacity: 1; }

.teacher-badges {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 80%;
    pointer-events: none;
}
.teacher-badges li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #2a2a2a;
    font-weight: 600;
    font-size: 13px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #eaeef7;
}
.teacher-badges li i { flex: 0 0 auto; color: #4c5a89; }
.teacher-badges li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.teacher-meta { padding: 14px; text-align: center; }
.teacher-name { font-weight: 800; font-size: 18px; color: #2a2a2a; }
.teacher-role { font-size: 14px; color: #666; margin-top: 4px; min-height: 36px; }

.teacher-nav {
    border: 0;
    border-radius: 50%;
    background: #4c5a89;
    color: #fff;
    cursor: pointer;
    transition: transform .15s ease, background .25s ease, box-shadow .25s ease;
    z-index: 3;
}
.teacher-nav:hover { background: #e84797; }

@media (min-width: 1024px) {
    .teacher-viewport::before,
    .teacher-viewport::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 80px;
        z-index: 2;
        pointer-events: none;
    }
    .teacher-viewport::before {
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,0.92), rgba(255,255,255,0));
    }
    .teacher-viewport::after {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,0.92), rgba(255,255,255,0));
    }

    .teacher-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        box-shadow: 0 0 0 1px rgba(255,255,255,.9);
    }
    .teacher-nav.left  { left: 12px; }
    .teacher-nav.right { right: 12px; }
}

@media (min-width: 1201px) {
    .teacher-card { flex-basis: calc((100% - 3*24px) / 4); }
    .teacher-photo { height: 300px; }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .teacher-card { flex-basis: calc((100% - 2*24px) / 3); }
    .teacher-photo { height: 320px; }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .teacher-viewport {
        overflow: visible;
        padding-bottom: 72px;
    }
    .teacher-card { flex-basis: calc((100% - 24px) / 2); }
    .teacher-photo { height: 350px; }
    .teacher-nav {
        position: absolute;
        bottom: -8px;
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 20px;
        transform: none;
        box-shadow: 0 0 0 2px rgba(255,255,255,.95);
    }
    .teacher-nav.left  { right: 56px; left: auto; }
    .teacher-nav.right { right: 8px; }
}

@media (min-width: 577px) and (max-width: 768px) {
    .teacher-viewport { padding-bottom: 64px; overflow: visible; }
    .teacher-card { flex-basis: calc((100% - 24px) / 2); }
    .teacher-photo { height: 400px; }
    .teacher-nav {
        position: absolute;
        bottom: -6px;
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 19px;
        transform: none;
        box-shadow: 0 0 0 2px rgba(255,255,255,.95);
    }
    .teacher-nav.left  { right: 52px; left: auto; }
    .teacher-nav.right { right: 8px; }
}

@media (max-width: 576px) {
    .teacher-viewport { padding-bottom: 60px; overflow: visible; }
    .teacher-card { flex-basis: 100%; margin: 0 auto; }
    .teacher-photo { height: 400px; }
    .teacher-nav {
        position: absolute;
        bottom: -6px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
        transform: none;
        box-shadow: 0 0 0 2px rgba(255,255,255,.95);
    }
    .teacher-nav.left  { right: 50px; left: auto; }
    .teacher-nav.right { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .teacher-photo img,
    .teacher-rail { transition: none !important; scroll-behavior: auto; }
}


/*
---------------------------------------------
End teacher
---------------------------------------------
*/



/*
---------------------------------------------
Feedback Style
---------------------------------------------
*/
.feedback-section {
    padding: 0;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.feedback-section:before {
    content: '';
    background-image: url(../images/portfolio-left-dec.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 677px;
    height: 759px;
    z-index: 0;
    opacity: 0.1;
}

.feedback-section .section-heading {
    text-align: center;
}

.feedback-section .line-dec {
    margin: 20px auto 0;
}

/* Feedback Item */
.feedback-item {
    overflow: hidden;
    background: #fbfbfb;
    border-radius: 15px;
    padding: 30px;
    margin: 15px;
    margin-top: 80px;
    /*box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.10);*/
    border: 1px #eeeeee solid;
    transition: all 0.3s ease;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
}

.feedback-item:hover {
    transform: translateY(-10px);
    box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

.feedback-content {
    position: relative;
    flex-grow: 1;
    margin-bottom: 20px;
}

.quote-icon {
    color: #e84797;
    font-size: 40px;
    opacity: 0.2;
    margin-bottom: 15px;
}

.feedback-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.rating i {
    margin-right: 3px;
}

.feedback-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #4c5a89;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 18px;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 14px;
    color: #e84797;
    font-weight: 500;
}

/* Video Testimonials */
.video-testimonials {

    padding-top: 30px;
    border-top: 1px solid #eee;
}

.video-testimonials h4 {
    color: #4c5a89;
    font-weight: 600;
    margin-bottom: 30px;
}

.video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: #4c5a89;
    font-size: 24px;
    margin-left: 5px;
}

.video-thumbnail:hover .play-button {
    background: #4c5a89;
}

.video-thumbnail:hover .play-button i {
    color: white;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 15px;
    color: white;
}

.video-info h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.video-info span {
    font-size: 13px;
    opacity: 0.9;
}

/* Owl Carousel Custom */
.feedback-slider .owl-nav {
    position: absolute;
    top: 0;
    right: 40px;
}

.feedback-slider .owl-nav button {
    width: 40px;
    height: 40px;
    background: #4c5a89 !important;
    color: white !important;
    border-radius: 50% !important;
    margin-left: 10px;
    transition: all 0.3s;
}

.feedback-slider .owl-nav button:hover {
    background: #e84797 !important;
}

.feedback-slider .owl-nav span {
    font-size: 1.5rem !important;
}

/*.feedback-slider .owl-dots {
    margin-top: 30px;
}*/

.feedback-slider .owl-dot span {
    width: 12px;
    height: 12px;
    background: #ddd !important;
    margin: 0 5px;
}

.feedback-slider .owl-dot.active span {
    background: #4c5a89 !important;
}

/* Video Modal */
#videoModal .modal-content {
    background: transparent;
    border: none;
}

#videoModal .close {
    position: absolute;
    top: -40px;
    right: -5px;
    color: white;
    opacity: 1;
    text-shadow: none;
    font-size: 30px;
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .feedback-slider .owl-nav {
        position: relative;
        top: 20px;
        text-align: right;
        margin-bottom: 30px;
    }

    .feedback-item {
        padding: 20px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-info h5 {
        font-size: 16px;
    }

    .video-thumbnail img {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .feedback-section {
        padding: 60px 0;
    }

    .video-testimonials .col-md-4 {
        margin-bottom: 20px;
    }

    .feedback-text {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .feedback-item {
        margin: 10px 0;
    }

    .video-info h6 {
        font-size: 14px;
    }

    .video-info span {
        font-size: 12px;
    }
}

/* ===== Feedback Photos (masonry-lite) ===== */
.feedback-photos {
    margin-top: 30px;
    /*padding-top: 30px;*/
    border-top: 1px solid #eee;
}

.feedback-photos h4 {
    color: #4c5a89;
    font-weight: 700;
    margin: 40px 0;
}

.photo-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    grid-auto-rows: 250px; /* chiều cao hàng cơ bản */
    gap: 18px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;

    background: #f7f7fb;
}

.photo-item.tall {
    grid-row: span 2;
}

/* cao gấp đôi */
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px #eeeeee solid;
    transition: transform .35s ease, filter .35s ease;
}

/* Hover hiệu ứng “xịn” */
.photo-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .photo-grid {
        grid-template-columns:repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    /* Giữ bố cục đẹp ở 2 cột: chỉ item 2,3,5 cao */
    .photo-item.tall {
        grid-row: span 2;
    }
}

@media (max-width: 576px) {
    .photo-grid {
        grid-template-columns:1fr;
        grid-auto-rows: 220px;
    }

    .photo-item.tall {
        grid-row: span 1;
    }

    /* mobile: tất cả cao như nhau cho gọn */
}

/*
---------------------------------------------
Modal Courses Style
---------------------------------------------
*/
.course-modal.v2 .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(28, 33, 68, .25);
    height: clamp(560px, 85vh, 900px);
    display: flex;
    flex-direction: column;
}

/* Hero */
.cmv2-hero {
    position: relative;
    padding: 28px 28px 18px;
    background: #2a2f57;
}

.cmv2-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 120% at 10% -10%, #4c64cc40 0%, transparent 60%),
    radial-gradient(80% 120% at 100% 10%, #8d89ba5c 0%, transparent 65%),
    linear-gradient(135deg, #4c64ccd4 0%, #8d89bad6 100%);
    filter: saturate(1.1);
}

.cmv2-decor {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    opacity: .35;
    background: conic-gradient(from 120deg, #fff3, #fff0);
    border-radius: 50%;
    box-shadow: inset 0 0 80px #fff4;
}

.cmv2-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    align-items: center;
}

.cmv2-hero-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cmv2-logo-badge {
    width: 56px;
    height: 56px;
    position: relative;
}

.cmv2-logo-badge .ring {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff33, #ffffff12);
    border: 1px solid #ffffff40;
    backdrop-filter: blur(4px);
}

.cmv2-logo-badge .dot {
    position: absolute;
    width: 26px;
    height: 26px;
    left: 15px;
    top: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff, #f0e9ff);
    box-shadow: 0 10px 24px #0002;
}

.cmv2-title {
    color: #fff;
    margin: 0 0 6px;
    font-weight: 800;
    letter-spacing: .2px;
}

.cmv2-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cmv2-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e9ecff;
    background: #ffffff15;
    border: 1px solid #ffffff30;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.cmv2-chip.alt {
    color: #1c2144;
    background: #fff;
    border: 0;
    box-shadow: 0 8px 20px rgba(255, 255, 255, .2);
}

.cmv2-i {
    display: inline-block;
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 2px 6px #0003);
}

.i-level {
    background: linear-gradient(135deg, #fff, #e9e9ff);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 13h4v7H4v-7Zm6-4h4v11h-4V9Zm6-6h4v17h-4V3Z"/></svg>') no-repeat center/contain;
    mask: . . .
}

.i-calendar {
    background: #1c2144;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M7 2h2v2h6V2h2v2h3v18H4V4h3V2Zm13 8H6v9h14v-9Z"/></svg>') no-repeat center/contain;
    mask: . . .
}

/* Body */
.cmv2-body {
    padding: 18px 22px 22px;
    background: radial-gradient(120% 100% at 0% 0%, #f6f7ff 0, #fbfbfe 60%, #ffffff 100%);
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cmv2-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.4fr .8fr;
    min-height: 0;
}

/* Panel & Aside */
.cmv2-panel {
    background: #fff;
    border: 1px solid #eceef7;
    border-radius: 20px;
    padding: 16px 16px 6px;
    box-shadow: 0 8px 26px rgba(28, 33, 68, .06);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Chỉ phần outcomes được cuộn */
#cm-outcomes {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.cmv2-section-title {
    font-weight: 800;
    color: #4c5a89;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 10px;
}

.cmv2-section-title .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4c64cc, #8d89ba);
    box-shadow: 0 4px 10px rgba(76, 90, 139, .35);
}

.cmv2-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cmv2-card {
    border: 1px solid #eceef7;
    border-radius: 20px;
    padding: 14px 16px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(28, 33, 68, .06);
}

.cmv2-card.glass {
    background: linear-gradient(180deg, #ffffffcc, #ffffffa6);
    backdrop-filter: blur(6px);
}

.cmv2-kv {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cmv2-kv span {
    color: #6c7190;
    font-weight: 600;
}

.cmv2-kv strong {
    color: #1c2144;
    font-weight: 800;
}

.cmv2-sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, #eceef7, transparent);
    margin: 10px 0;
}

.cmv2-progress {
    background: #fff;
    border: 1px dashed #e6e9f6;
    border-radius: 16px;
    padding: 12px 14px;
}

.cmv2-progress-label {
    font-weight: 700;
    color: #4c5a89;
    margin-bottom: 6px;
}

.cmv2-progress-bar {
    height: 10px;
    border-radius: 999px;
    background: #f0f2fb;
    overflow: hidden;
}

.cmv2-progress-bar .fill {
    display: block;
    height: 100%;
    width: var(--p, 50%);
    background: linear-gradient(90deg, #4c5a89, #e84797);
    box-shadow: inset 0 0 8px #ffffff80;
    animation: cmv2-grow .8s cubic-bezier(.2, .9, .2, 1) both;
}

.cmv2-progress-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8086a3;
    margin-top: 6px;
}

.cmv2-note {
    font-size: 12.5px;
    color: #8086a3;
    margin: 0;
}

.cmv2-timeline {
    counter-reset: step;
    list-style: none;
    padding: 6px 4px 10px;
    margin: 0;
}

.cmv2-timeline li {
    position: relative;
    padding: 14px 14px 14px 58px;
    margin: 0 0 10px;
    border: 1px solid #eceef7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(28, 33, 68, .05);
    transform: translateY(6px);
    opacity: 0;
    animation: cmv2-reveal .5s ease forwards;
}

.cmv2-timeline li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c64cc, #8d89ba);
    box-shadow: 0 8px 18px rgba(76, 90, 139, .35);
}

.cmv2-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px 18px;
    background: #ffffff;
    border-top: 1px solid #f0f1fa;
}

.cmv2-footer .brand {
    color: red;
    text-decoration: underline;
}

.cmv2-cta {
    position: relative;
    background: linear-gradient(130deg, #4c64ccdb, #8d89bae0);
    color: #fff;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    z-index: 0;
    overflow: visible;
}

/* Vòng viền xanh động */
.cmv2-cta::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: none;
    filter: blur(1px);
    box-shadow: 0 0 12px rgba(183, 228, 249, 0.8); /* #b7e4f9 */
    animation: focusGlow 3s ease-in-out infinite alternate;
    z-index: -1;
}

.cmv2-cta:hover {
    color: white;
    box-shadow: 0 0 0 .25rem rgba(183, 228, 249, 0.5); /* đổi hover shadow */
    transform: translateY(-2px);
}

@keyframes focusGlow {
    0% {
        box-shadow: 0 0 0 rgba(183, 228, 249, 0),
        0 0 0 rgba(183, 228, 249, 0);
    }
    50% {
        box-shadow: 0 0 8px rgba(183, 228, 249, 1),
        0 0 16px rgba(183, 228, 249, 0.95);
    }
    100% {
        box-shadow: 0 0 0 rgba(183, 228, 249, 0),
        0 0 0 rgba(183, 228, 249, 0);
    }
}




@keyframes cmv2-reveal {
    to {
        transform: none;
        opacity: 1;
    }
}

@keyframes cmv2-grow {
    from {
        width: 0;
    }
    to {
        width: var(--p, 50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cmv2-timeline li, .cmv2-progress-bar .fill {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 1199.98px) {
    .cmv2-grid {
        grid-template-columns: 1fr .9fr;
    }
}

@media (max-width: 991.98px) {
    .course-modal.v2 .modal-dialog {
        margin: 14px;
    }

    .course-modal.v2 .modal-content {
        height: clamp(520px, 92vh, 880px);
    }

    .cmv2-grid {
        grid-template-columns: 1fr;
    }

    .cmv2-hero {
        padding: 24px 18px 14px;
    }

    .cmv2-title {
        font-size: 22px;
    }
}

@media (max-width: 575.98px) {
    .cmv2-chip {
        font-size: 13px;
    }

    .cmv2-timeline li {
        padding-left: 54px;
    }

    .cmv2-progress-scale {
        font-size: 11px;
    }
}

.cmv2-variants {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cmv2-variant {
    border: 1px solid #ffffff40;
    color: #eef1ff;
    background: #ffffff15;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

.cmv2-variant .badge {
    background: #fff;
    color: #1c2144;
    border-radius: 999px;
    padding: 2px 8px;
    font-weight: 800;
}

.cmv2-variant:hover {
    transform: translateY(-1px);
}

.cmv2-variant.active {
    background: #fff;
    color: #1c2144;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 255, 255, .22);
}

@media (max-width: 575.98px) {
    .cmv2-variant {
        font-size: 13px;
    }
}

.ci-section {
    margin-top: 16px;
}

.ci-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #4c5a89;
    margin-bottom: 12px;
}

.ci-badge {
    display: inline-block;
    min-width: 28px;
    padding: 2px 8px;
    text-align: center;
    border-radius: 999px;
    background: #eef1ff;
    color: #4c5a89;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.ci-track-card {
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(76, 90, 139, .08);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 8px 22px rgba(76, 90, 139, .08);
    backdrop-filter: blur(6px);
}

.ci-prop {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ci-prop + .ci-prop {
    margin-top: 8px;
}

.ci-prop__label {
    color: #8a90a6;
    font-size: 13px;
}

.ci-prop__value {
    color: #2b2f42;
    font-weight: 600;
}


/* Nút Back to Top */
#backToTop {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: linear-gradient(135deg, #273981, #8d89ba);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: visible; /* để tag tràn ra ngoài */
}

#backToTop:hover {
    background: linear-gradient(135deg, #4c5a89, #b381c8);
    transform: translateY(-3px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* Tag bong bóng */
#backToTop { position: fixed; overflow: visible; }
#backToTop .btp-tag{
    position:absolute;
    right: 58px;                     /* nằm bên trái nút */
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background:#fff; color:#333;
    font-size:14px; line-height:1;
    padding:8px 12px;
    white-space:nowrap;
    border-radius:20px;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    opacity:0; pointer-events:none;
    transition: all .25s ease;
    display:inline-block !important;
}
#backToTop .btp-tag::after{
    content:'';
    position:absolute;
    top:50%; right:-6px; transform:translateY(-50%);
    border-width:6px; border-style:solid;
    border-color: transparent transparent transparent #fff;
}

/* Khi hover/focus hoặc được JS bật class thì hiện tag */
#backToTop.show-tag .btp-tag{
    opacity:1 !important;
    transform:translateY(-50%) translateX(0) !important;
}

/*************REGISTER ADMISSION***********/
@keyframes bellRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-10deg);
    }
}

@keyframes contactGlow {
    0% {
        box-shadow: 0 0 0 rgba(183, 228, 249, 0),
        0 0 0 rgba(183, 228, 249, 0);
    }
    50% {
        box-shadow: 0 0 8px rgba(183, 228, 249, 1),
        0 0 16px rgba(183, 228, 249, 0.95);
    }
    100% {
        box-shadow: 0 0 0 rgba(183, 228, 249, 0),
        0 0 0 rgba(183, 228, 249, 0);
    }
}

.contact-bell {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: linear-gradient(135deg, #4c64cc, #8d89ba); /* màu chủ đạo */
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: contactGlow 3s ease-in-out infinite alternate; /* glow */
}

.contact-bell .contact-tag {
    position:absolute; right:50px; top:50%; transform:translateY(-50%) translateX(10px);
    background:#fff; color:#333; font-size:14px; padding:8px 12px; white-space:nowrap;
    border-radius:20px; box-shadow:0 3px 10px rgba(0,0,0,.15);
    opacity:0; pointer-events:none; transition:all .3s ease;
}
.contact-bell .contact-tag::after{
    content:''; position:absolute; top:50%; right:-6px; transform:translateY(-50%);
    border-width:6px; border-style:solid; border-color:transparent transparent transparent #fff;
}

.contact-bell i {
    font-size: 20px;
    animation: bellRing 2s infinite ease-in-out;
}

.contact-bell:hover {
    background: linear-gradient(135deg, #8d89ba, #4c64cc); /* đảo gradient khi hover */
    transform: translateY(-3px);
    color: white;
}

@media (min-width: 1025px) {
    .contact-tag {
        display: none;
    }
}


@media (hover:hover){
    .contact-bell:hover .contact-tag{ opacity:1; transform:translateY(-50%) translateX(0); }
}
@media (max-width: 1024px) {
    #backToTop {
        bottom: 90px;
    }

    .contact-bell {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }

    .contact-bell .contact-label {
        display: none;
    }
}
