@import "../fonts/Baloo/Baloo-Regular.ttf";
@font-face {
    font-family: 'Baloo';
    src: url('../fonts/Baloo/Baloo-Regular.ttf') format('truetype');
}

p {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
}

.bl-color-gray {
    background-color: #E2F3F0;
}

.container {
    max-width: 1320px !important;
}

.title-header-font {
    font-family: 'Baloo', sans-serif;
}

.tlp-sz-64 {
    font-size: 64px;
    font-weight: 800;
    line-height: 75px;
}

.tlp-sz-48 {
    font-size: 48px;
    font-weight: 700;
    line-height: 53px;
}

.tlp-sz-32 {
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
}

.tlp-sz-32-500 {
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
}

.tlp-sz-22-700 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
}

.tlp-sz-24-700 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.tlp-sz-20-700 {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
}

.tlp-sz-20 {
    font-size: 20px;
    line-height: 26px;
}

.tlp-sz-18 {
    font-size: 18px;
    line-height: 24px;
}

.tlp-sz-16 {
    font-size: 16px;
    line-height: 24px;
}

.tlp-mt-150 {
    margin-top: 150px;
}

.tlp-mt-120 {
    margin-top: 120px;
}

.tlp-pt-pb-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.tlp-pt-pb-100-52 {
    padding-top: 100px;
    padding-bottom: 52px;
}

.tlp-mt-mb-100 {
    margin-top: 100px;
    margin-bottom: 100px;
}

.tlp-mt-mb-60 {
    margin-top: 60px;
    margin-bottom: 60px;
}

.tlp-mt-40 {
    margin-top: 40px;
}

.tlp-mb-30 {
    margin-bottom: 30px;
}

.tlp-ml-mr-30 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.tlp-p-30 {
    padding: 30px;
}

.tlp-mb-20 {
    margin-bottom: 20px;
}

.tlp-pt-pb-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.tlp-pb-15 {
    padding-bottom: 15px;
}

.tlp-mt-10 {
    margin-top: 10px;
}

.tlp-ml-10 {
    margin-left: 10px;
}
/* Text giới hạn tối đa 2 dòng */
.title-limit-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*---------------------------------------
  Header
-----------------------------------------*/

.text-wrap-header {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
}

/* Ẩn menu dropdown mặc định */
.dropdowns-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    left: 50%;
    transform: translate(-50%, 10%);
}

/* Định dạng cho các mục dropdown */
.dropdowns-menu li {
    padding: 12px 16px;
}

/* Định dạng cho các liên kết trong dropdown */
.dropdowns-menu li a {
    color: black;
    text-decoration: none;
    display: block;
}

/* Thêm hiệu ứng hover */
.dropdowns-menu li a:hover {
    background-color: #ddd;
}

/* Định vị dropdown */
.dropdowns {
    position: relative;
    display: inline-block;
}

.logo img {
    width: 100px;
    height: 50px;
}

#arrow-down {
    display: inline;
}
#arrow-up {
    display: none;
}

.dropdowns-menu {
    display: none;
}
.dropdowns-menu.show {
    display: block;
}

.custom-navbar {
    position: fixed;
    width: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 9;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 15px 50px;
}

.icon-up-down {
    width: 10px;
}

.share {
    font-size: 14px;
    line-height: 18px;
}
/*---------------------------------------
  Popup header
-----------------------------------------*/

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    position: relative;
    max-width: 800px;
    height: 100vh;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    text-align: center;
    margin: 0 auto;
}

.image-container {
    display: flex;
    flex-direction: column;
}

.image-container img {
    width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/*---------------------------------------
  vision mission
-----------------------------------------*/
.container-custom {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
}

.vision-mission-wrap {
    padding-top: 120px;
}

.content-row {
    height: 100%;
}

.vision-content, .mission-content {
    max-width: 420px;
    background-color: #fff;
    padding: 20px;
    border-radius: 25px;
    height: 100%;
}

#vision-mission {
    background-image: var(--bg-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    min-height: 600px;
    padding-bottom: 40px;
}

/*----- teacher Section Style -------------------------*/

.team-member ul li {
    padding: 5px;
    transform: rotatey(-90deg) perspective(100px);
    transform-origin: left;
    cursor: pointer;
    transition: .5s ease-in-out;
    background-color: var(--primary-color);
}

.team-member ul li:first-of-type {
    transition-delay: .3s;
}

.team-member ul li:nth-of-type(2) {
    transition-delay: 0.6s;
}

.team-member ul li:nth-of-type(3) {
    transition-delay: 0.9s;
}

.team-member ul li:last-of-type {
    transition-delay: 1.3s;
}

.team-member:hover ul li {
    transform: rotatey(0deg);
}


/* Zoom Effect*/
.zoom-effect {
    position: relative;
    overflow: hidden;
}

.zoom-effect img {
    max-width: 100%;
    -webkit-transition: 0.6s ease-out;
    -moz-transition: 0.6s ease-out;
    transition: 0.6s ease-out;
}

.zoom-effect:hover img {
    -webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

.zoom-effect:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 2;
    opacity: 0;
    -moz-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}

.zoom-effect:hover:before {
    opacity: 1;
    cursor: pointer;
}

.course-des-short {
    position: absolute;
    bottom: 0;
    transform: translateY(calc(100% + 20px));
    left: 0;
    width: 100%;
    border-radius: 6px;
    background-color: #ffeed4;
    box-sizing: border-box;
    box-shadow: 4px 4px 10px rgba(150, 150, 150, 0.192);
    display: none;
    padding: 15px;
    z-index: 1;
}

.course-des-short::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffeed4;
}

/*----- Course Section Style -------------------------*/

.course-image-container .img-fluid {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.course-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto;
}

/*----- Course Section Style -------------------------*/

.blog-image {
    max-width: 400px;
    width: 100%;
    height: 280px;
    margin: 0 auto;
}

.blog-image img {
    object-fit: cover;
    height: 100%;
}


.blog-wrap {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #cccccc;
    margin: 30px 0 40px 0;
    border-radius: 4px;
}

.tags a {
    background-color: #d6d6d6;
    color: #175a39;
    padding: 5px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}

.pagination-wrap .swiper-pagination-bullet {
    background-color: #7a7a7a !important;
}

.pagination-wrap .swiper-pagination-bullet-active {
    background-color: #19573b !important;
}

/*----- Testimonial Section Style -------------------------*/

.image-review-wrap {
    width: 225px;
    margin: 0 auto;
    height: 200px;
}

.image-review-wrap img {
    height: 100%;
    object-fit: cover;
}

/*----- Contact Section Style -------------------------*/

.custom-btn-hover:hover {
    background-color: #175a39 !important;
    color: #fff !important;
}

.custom-contact {
    padding: 40px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    backdrop-filter: blur(15px);
    width: 100%;
    margin: 0 auto;
}

.contact-wrapImage {
    max-height: 700px;
}

.contact-wrapImage img {
    height: 100%;
    object-fit: cover;
}

.contact-form-wrap {
    display: flex;
    align-items: center;
}

.contact-form-btn {
    margin: 0 auto;
    border: 3px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background-color: #fff !important;
    font-size: 20px;
    font-weight: 600;
    border-radius: 30px !important;
    padding: 10px;
}

.link-menu-wrap {
    display: flex;
    justify-content: center;
}

.custom-menu-ul {
    display: flex;
    margin-bottom: 0;
}
.custom-menu-ul li {
    list-style-type: none;
}
.custom-menu-ul li a {
    text-decoration: none;
    color: #000;
    background-color: transparent;
    margin: 0 15px;
    font-weight: 700;
    white-space: nowrap;
}

.underline-hover {
    position: relative;
    display: inline-block;
}

.underline-hover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #155a35;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.underline-hover:hover::after {
    width: 100%;
}

.underline-hover:hover {
    color: #155a35;
}

.mobile {
    display: none;
}

/*----- Song Section Style -------------------------*/

.tomoeSong-video {
    width: 100%;
    height: 600px;
    max-width: 1100px;
    margin: 0 auto;

}

/*----- Blogs Section Style -------------------------*/

.card-img-left img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.pagination .custom-pageLink {
    margin: 0 10px;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

.pagination .custom-pageLink img {
    width: 30px;
}

.pagination .page-numbers {
    height: 40px;
    width: 40px;
    background-color: #19573b;
    color: #FFF;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}
/*article detail*/
.article-rated {
    padding: 0;
}
.article-rated li {
    margin: 0;
    border: none;
    line-height: 25px;
    padding: 5px 0px 5px 0px;
    border-bottom: 1px dashed #d4d4d4;
}
.article-rated li a {
    padding: 5px 0px 5px 0px;
    color: #6c757d;
}
.btn-category {
    border-radius: 50px;
    width: 100%;
    display: flex;
    align-items: center;
}
.list-post-latest {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-post-latest ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-post-latest .post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 15px;
}

.list-post-latest .post-item .post-link {
    display: flex;
    text-decoration: none;
    width: 100%;
}

.list-post-latest .post-item .post-thumbnail {
    flex-shrink: 0;
    margin-right: 15px;
    position: relative;
}

.list-post-latest .post-item .post-thumbnail .thumbnail-img {
    width: 120px;
    height: 90px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.list-post-latest .post-item .post-thumbnail .thumbnail-img img {
    height: auto;
    width: 100%;
    object-fit: cover;
}

.list-post-latest .post-item .post-thumbnail .post-date {
    display: block;
    font-size: 14px;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

.list-post-latest .post-item .post-details {
    flex-grow: 1;
}

.list-post-latest .post-item .post-details .post-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    color: #333;
}
.content-wrap p {
    font-size: 20px;
    color: #000000;
}
/*breadcrumbs*/
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
}
.breadcrumbs li {
    display: inline-block;
}

.breadcrumbs a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs .breadcrumb-item.active {
    color: #6c757d;
    pointer-events: none;
}

.breadcrumbs .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumbs li::after {
    content: "/";
    margin: 0 8px;
    color: #6c757d;
}

.breadcrumbs li:last-child::after {
    content: "";
    margin: 0;
}

.lang-item {
    display:none;
}

@media screen and (max-width: 992px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .tlp-pt-pb-100 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .tlp-pt-pb-100-52 {
        padding-top: 50px;
        padding-bottom: 2px;
    }

    .tlp-mt-mb-100 {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .tlp-mt-mb-0-0 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .mobile-tlp-mb-5 {
        margin-bottom: 5px;
    }

    .mobile-text-jutify {
        text-align: justify;
    }

    .vision-content-wrap, .mission-content-wrap {
        display: flex;
        justify-content: center;
    }

    .mobile-pt-20 {
        padding-top: 20px;
    }

    .mobile-mt-20 {
        margin-top: 20px;
    }

    .mobile-mb-20 {
        margin-bottom: 20px;
    }

    .vision-mission-wrap {
        padding-top: 55px;
    }

    .custom-navbar {
        padding: 15px;
    }

    .link-menu-wrap {
        flex-direction: column;
        align-items: center;
        justify-content: start;
        color: #000000;
        height: 100vh;
    }
    .language-mobile a {
        color: #000000 !important;
    }

    .custom-menu-ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .lang-item {
        display: block;
    }
}

.navbar-collapse .custom-menu-ul li {
    position: relative;
}
.navbar-collapse .custom-menu-ul li .sub-menu {
    display: none;
    position: absolute;
    top: 30px;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    list-style: none;
    padding: 20px;
    margin: 0;
    left: 0;
}
.navbar-collapse .custom-menu-ul li:hover > .sub-menu {
    display: block;
}
.navbar-collapse .custom-menu-ul li .sub-menu > li {
    margin-top: 10px;
}
.navbar-collapse .custom-menu-ul li .sub-menu > li a {
    margin: 0;
}
.navbar-collapse .custom-menu-ul li .sub-menu > li:first-child {
    margin-top: 0;
}

header .section-menu .navbar > .container {
    max-width: 1500px !important;
}
#offers .item {
    margin-top: 30px;
}
#offers .item .box {
    height: 250px;
    width: 250px;
    margin: 0 auto;
    display: flex;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#offers .item .box .content {
    padding: 0 10px;
}

#offers .item .box .content p,
#offers .item .box .content h1,
#offers .item .box .content h2,
#offers .item .box .content h3,
#offers .item .box .content h4,
#offers .item .box .content h5,
#offers .item .box .content h6
{
    color: white;
}

@media screen and (max-width: 768px) {
    .mobile-mt-5 {
        margin-top: 5px;
    }
    .site-footer::after {
        content: none;
    }
    .custom-contact {
        padding: 40px 10px;
    }

    .tlp-sz-64 {
        font-size: 50px;
        line-height: 60px;
    }
    .site-footer::after {
        border-width: 0 0 0 200px !important;
    }
}

.tomoe-card {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.tomoe-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem;
    transition: height 0.4s ease;
    display: flex;
    flex-direction: column;
}

.description-short,
.description-long {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.description-short,
.description-long p{
    color: #ffffff;
}

.description-long {
    display: none;
    overflow-y: hidden;
    flex-grow: 1;
}

.tomoe-card:hover .tomoe-overlay,
.tomoe-card.active .tomoe-overlay {
    height: 100%;
}

.tomoe-card:hover .description-short,
.tomoe-card.active .description-short {
    display: none;
}

.tomoe-card:hover .description-long,
.tomoe-card.active .description-long {
    display: block;
}

/* Custom scrollbar */
.description-long::-webkit-scrollbar {
    width: 6px;
}

.description-long::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.4);
    border-radius: 3px;
}

@media (hover: none) and (pointer: coarse) {
    .tomoe-card {
        cursor: default;
    }
}

