/* new css */
@font-face {
    font-family: 'Gilroy-Regular';
    src: url("../fonts/SVN-Gilroy-Regular.otf");
}

@font-face {
    font-family: 'SVN-Gilroy-Bold';
    src: url("../fonts/SVN-Gilroy-Bold.otf"),
        url('../fonts/SVN-Gilroy-Bold.woff') format('woff'),
        url('../fonts/SVN-Gilroy-Bold.woff2') format('woff2'),
        url('../fonts/SVN-Gilroy-Bold.ttf') format('truetype'),
        url('../fonts/SVN-Gilroy-Bold.svg#SVN-Gilroy-Bold') format('svg');
}

@font-face {
    font-family: 'SVN-Gilroy-SemiBold';
    src: url("../fonts/SVN-Gilroy-SemiBold.otf"),
        url('../fonts/SVN-Gilroy-SemiBold.woff') format('woff'),
        url('../fonts/SVN-Gilroy-SemiBold.woff2') format('woff2'),
        url('../fonts/SVN-Gilroy-SemiBold.ttf') format('truetype'),
        url('../fonts/SVN-Gilroy-SemiBold.svg#SVN-Gilroy-SemiBold') format('svg');
}

@font-face {
    font-family: "Gilroy-RegularItalic";
    src: url("../fonts/Gilroy-RegularItalic.eot");
    src: url("../fonts/Gilroy-RegularItalic.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Gilroy-RegularItalic.woff2") format("woff2"),
        url("../fonts/Gilroy-RegularItalic.woff") format("woff"),
        url("../fonts/Gilroy-RegularItalic.ttf") format("truetype"),
        url("../fonts/Gilroy-RegularItalic.svg#Gilroy-RegularItalic") format("svg");
}

@font-face {
    font-family: "SVN-Gilroy-Heavy";
    src: url("../fonts/SVN-Gilroy-Heavy.otf"),
        url("../fonts/Gilroy-Heavy.woff2")format("woff2"),
        url("../fonts/Gilroy-Heavy.woff")format("woff"),
        url("../fonts/Gilroy-Heavy.ttf")format("truetype"),
        url("../fonts/Gilroy-Heavy.svg#Gilroy-Heavy")format("svg");
}

* {
    margin: 0;
    padding: 0;
}

div.title {
    font-family: 'SVN-Gilroy-Heavy';
    color: #e3801f;
    font-size: 2.813rem;
    line-height: 1.4;
}

div.title span {
    font-family: 'SVN-Gilroy-Bold';
    color: #c12128;
    font-size: 1.875rem;
}
.section-contact-sales-form{
    margin-top: 50px;
}
#achievements .title,.student_feelings .title{
    color: #c12128 !important;
}
p {
    font-size: 18px;
    font-family: "Gilroy-Regular";
    color: rgb(0, 0, 0);
    line-height: 1.3;
    margin-bottom: 5px;
}
a{
    color: unset;
}
.student_feelings .bottom-text{
    font-family: 'SVN-Gilroy-Bold';
    color: #e3801f;
    font-size: 1.3rem;
}
.w-max{
    width: max-content;
}
.text-justify{
    text-align: justify;
}
#section-1{
    background-image: url('../images/cam-nhan-hoc-vien/news/bg-section1.webp');
    background-size: cover;
    background-position:top center;
}
#section-1 .content{
    background-image: url('../images/cam-nhan-hoc-vien/news/bg-contain1.webp');
    background-size: 100% 100%;
    background-position:top center;
    padding-bottom: 5rem;
    padding-top: 2rem;
}
#section-1 .video iframe {
    position: absolute;
    width: 92%;
    height: 80%;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
}
#section-1 div.title{
    line-height: 1;
}
#section-1 div.title .title-image img{
    width: 60%;
}
#section-1 div.title span{
    transform: translateY(-1rem);
}
#section-1 .content .img-bottom img{
    width: 12%;
}
#achievements .alias{
    width: 75%;
    text-align: justify;
    text-align-last: center;
    margin: auto;
}
#achievements .list-achievements .achievements-item{
    flex-basis: 30%;
}
#achievements .list-achievements .achievements-item .image{
    height: 15rem;
    width: 100%;
    background-size: 100%;
    background-position: top 10% center;
    background-repeat: no-repeat;
}
#achievements .list-achievements .achievements-item .left-box .name{
  font-size: 18px;
  font-family: "SVN-Gilroy-SemiBold";
  color: rgb(0, 0, 0);
  font-weight: bold;
}
#achievements .list-achievements .achievements-item .overall{
    bottom: 25%;
    left: -0.5rem;
}
#achievements .list-achievements .achievements-item .overall .score{
    top: 45%;
    left: 0.8rem;
    transform: translateY(-50%);
    font-size: 23px;
    color: #fff;
    font-weight: bold;
}
#achievements .list-achievements .achievements-item .overlay-item{
    width: 100%;
    height: 100%;
    background-color: #00000061;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: 1;
}
#achievements .list-achievements .achievements-item:hover .overlay-item{
    visibility: visible;
}

#achievements .list-achievements .achievements-item .result-item{
    position: fixed;
    width: 100%;
    height: 100%;
    color: #fff;
    top: 0;
    left: 0;
    background: #0000005d;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}
#achievements .list-achievements .achievements-item .result-item .content-box{
    max-width: 30%;
    max-height: 100vh;
    -webkit-animation-name: zoom;
    -webkit-animation-duration: .6s;
    animation-name: zoom;
    animation-duration: .6s
}
.achievement-active{
    display: flex !important;
}
#achievements .list-achievements .achievements-item .result-item .button-close{
    text-align: right;
    margin-bottom: 0.5rem;
    font-size: 22px;
    cursor: pointer;
}
.achievements-item .box-thumbnail {
    padding-top: 61.86%;
}
.student_feelings_start iframe {
    width: 100%;
    height: 25rem;
}

.student_feelings_start {
    padding: 1.313rem;
    border: 0.063rem solid #f1a527;
    border-radius: 0.938rem;
}

.student_feelings_info .student_feelings_info_img {
    width: 15%;
}

.student_feelings_info .student_feelings_info_play {
    width: 5%;
    left: 5%;
}

.student_feelings_info ul li:first-child {
    background: #ddd;
}

.student_feelings_info ul li span {
    font-family: 'Gilroy-Regular';
    display: block;
    font-size: 17px;
    line-height: 1.2;
    padding: 0 0.5rem;
}

.suitable_advice {
    cursor: pointer;
    margin-top: 3rem;
    width: max-content;
    background: #c52229;
    border-radius: 1.875rem;
    border: 0.313rem solid #ffad0e;
    transition: all .25s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.suitable_advice p {
    font-family: 'SVN-Gilroy-Bold';
    color: #fff;
    font-size: 1.5rem;
}

.suitable_advice:before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 100%;
    top: 0;
    filter: blur(30px);
    transform: translateX(-100px) skewX(-15deg);
    animation: slide 3s infinite 3s;
    z-index: 999;
}

.central_facility {
    padding: 50px 0;
}

.central_facility_item_img {
    box-shadow: rgba(0, 0, 0, 0.35) 0 0 5px;
    padding: 10px;
    border-radius: 15px;
}

.central_facility_top {
    padding-bottom: 10px;
}

.central_facility_item_img img {
    width: 100%;
    border-radius: 15px;
    min-height: 15.5rem;
}

.central_facility_item p {
    margin-bottom: 0;
    font-family: 'SVN-Gilroy-Bold';
    color: #000;
    padding-top: 10px;
    font-size: 1.125rem;
}

.central_facility_item span {
    font-family: 'Gilroy-Regular';
    font-size: 1rem;
    color: #000;
}

.central_facility_item a {
    margin-top: 10px;
    border-radius: 20px;
    padding: 5px 30px;
    color: #000;
}

.everyone_talks_top_main .message-pictures .owl-nav{
    display: flex;
}
.everyone_talks {
    background: url(../images/cam-nhan-hoc-vien/news/text-messages-bg.webp) no-repeat center;
    background-size: 100% 100%;
}
.message-pictures .owl-prev {
    position: absolute;
    top: 50%;
    left: -2.5rem;
    transform: translateY(-50%);
}
.message-pictures .owl-next {
    position: absolute;
    top: 50%;
    right: -2.5rem;
    transform: translateY(-50%);
}

.testimonials .list-post .post-item{
    flex-basis: 30%;
    border: 1px solid;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px #00000063;
}
.testimonials .list-post .post-item h3{
  font-size: 20px;
  font-family: "SVN-Gilroy-Bold";
  color: rgb(0, 0, 0);
  line-height: 1.2;
  border-bottom: 1px solid;
  margin: 10px;
  padding-bottom: 10px;
}
.testimonials .list-post .post-item .message span{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    background:#fff;
}
.testimonials .list-post .post-item h3 span{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background:#fff;
    text-overflow: ellipsis;
}
.testimonials .list-post .post-item img{
    border-radius: 0 0 10px 10px;
}
.testimonials .list-post .post-item .goal{
    max-width: 100%;
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    border-radius: 0 0 30px 0;
}

#section-4{
    background-image: url('../images/cam-nhan-hoc-vien/news/bg-section4.webp');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
}
#section-2{
    background-image: url('../images/cam-nhan-hoc-vien/news/bg-2-1.webp'),
                      url('../images/cam-nhan-hoc-vien/news/bg-2-2.webp'),
                      url('../images/cam-nhan-hoc-vien/news/bg-2-3.webp'),
                      url('../images/cam-nhan-hoc-vien/news/bg-2-4.webp');
    background-repeat: no-repeat, no-repeat ,no-repeat , no-repeat;
    background-position: top 5% left, top 2% right, left bottom, right bottom;
    background-size: auto, auto, 15%, 15%;
}
.section-title {
    max-width: 600px;
    text-align: center;
}
.faq {
    background: url('../images/cam-nhan-hoc-vien/faq-bg.png') top center / cover no-repeat;
    padding: 100px 0;
}

.accordion {
    max-width: 600px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
    background: white;
    border-radius: 20px !important;
    overflow: hidden;
}

.accordion-button {
    background: white;
    box-shadow: none !important;
    font-weight: bold;
}

.accordion-collapse.show, .accordion-button:not(.collapsed) {
    background: #FCD29F !important;
    color: black;
}

.accordion-button.collapsed {
    background: white;
}

.accordion-button::after {
    background: url('../icons/arrow-down.png') top center / cover no-repeat;
    transform: rotate(-90deg);
}

.accordion-button:not(.collapsed)::after {
    background: url('../icons/arrow-down.png') top center / cover no-repeat;
    transform: unset;
}

button.collapsed {
    background: white !important;
}

#load-more-btn button,#load-more-achievements button{
    background-color: #fff;
    border-radius: 15px;
    border: 2px solid #d22129;
    padding: 0.5rem 2rem;
    font-weight: bold;
}
@media screen and (max-width: 1720px){
    #section-2{
        background-size: 10%, 10%, 10%, 10%;
        background-position: top 5% left, top 2% right, left bottom 15%, right bottom 15%;
    }
}
@media screen and (max-width: 1024px){
    #section-2{
        background-position: top 5% left, top 2% right, left center, right center;
    }
    .everyone_talks{
        background-size: cover;
        background-position: center center;
    }
    #achievements .list-achievements .achievements-item .result-item .content-box{
        max-width: 45%;
        max-height: 100vh;
    }
    .student_feelings_info .student_feelings_info_img {
        width: 20%;
    }

    .student_feelings_info .student_feelings_info_play {
        width: 7%;
        left: 7%;
    }
    .testimonials .list-post .post-item{
        flex-basis: 45%;
    }
    .central_facility_item_img img{
        min-height: 10.5rem;
    }
    #achievements .list-achievements .achievements-item {
        flex-basis: 45%;
    }
}
@media screen and (max-width: 991px){
    .student_feelings_info ul li span {
        font-size: 15px;
    }
    #section-1 .content{
        background-size: cover;
    }
}
@media screen and (max-width:768px){
    .student_feelings_start iframe {
        height: 14rem;
    }
    div.title{
        font-size: 1.5rem;
    }
    div.title span{
        font-size: 1.3rem;
    }
}
@media screen and (max-width:565px){
    #section-1 div.title .title-image img{
        width: 95%;
    }
    #section-1 div.title span {
        transform: translateY(-0.5rem);
    }
    .testimonials .list-post .post-item {
        flex-basis: auto;
    }
    #section-1 .content .img-bottom img {
        width: 20%;
    }
    #section-1{
       background-image: unset;
        padding-bottom: 0 !important;
    }
    .faq{
        padding: 2rem 0;
    }
    .section-title{
        max-width: 60%;
    }
    #achievements .list-achievements .achievements-item {
        flex-basis: 90%;
    }
    #achievements .list-achievements .achievements-item .result-item .content-box{
        max-width: 80%;
        max-height: 100vh;
    }
    .message-pictures.owl-carousel.owl-drag .owl-item{
        padding: 0 3rem;
    }
    .message-pictures .owl-prev{
        left: 0;
    }
    .message-pictures .owl-next{
        right: 0;
    }
}
/* end */


/* animation */
.scale-animation {
    animation: scale-button-size 1000ms infinite ease-in-out;
}

@keyframes scale-button-size {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1.1);
    }
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes zoom {
    from {
        -moz-transform: scale(0)
    }

    to {
        -moz-transform: scale(1)
    }
}

@-o-keyframes zoom {
    from {
        -o-transform: scale(0)
    }

    to {
        -o-transform: scale(1)
    }
}

@-ms-keyframes zoom {
    from {
        -ms-transform: scale(0)
    }

    to {
        -ms-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}
