/*  
  -------------------------------------------
  -----      CSS for the font used      -----
  -------------------------------------------
*/

@import url('./font/inter.css');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Tenor+Sans&display=swap');
body {
    font-family: 'Inter var', sans-serif;
    font-feature-settings: "cv02","cv03","cv04","cv11";
}



/*  
  ------------------------------------------- 
  -----      CSS for the preloader      -----
  -------------------------------------------
*/

.loader-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    background-color: rgba(var(--bs-body-bg-rgb), 1) !important;
    display:flex;
    justify-content: center !important;
    align-items: center !important;
    z-index: 2000 !important;
}



/*  
  -------------------------------------------------------------------------------- 
  -----      CSS for the default styles for both directions RTL and LTR      -----
  --------------------------------------------------------------------------------
*/

.left-to-right {
    display: none !important;
}
.right-to-left {
    display: none !important;
}
[dir="ltr"] .left-to-right {
    display: inline !important;
}
[dir="rtl"] .right-to-left {
    display: inline !important;
}

[dir="rtl"] .rtl-flip {
    transform: scaleX(-1) !important;
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    transform: scaleX(-1);
}



/*  
  -------------------------------------------  
  -----      CSS for the AOS's RTL      -----
  -------------------------------------------
*/

[dir="rtl"] [data-aos=fade-left] {
    transform: translate3d(-100px, 0, 0);
}
[dir="rtl"] [data-aos=fade-right] {
    transform: translate3d(100px, 0, 0); 
}

[dir="rtl"] [data-aos=fade-up-left] {
    transform: translate3d(-100px, 100px, 0); 
}
[dir="rtl"] [data-aos=fade-up-right] {
    transform: translate3d(100px, 100px, 0); 
}

[dir="rtl"] [data-aos=fade-down-left] {
    transform: translate3d(-100px,-100px,0); 
}
[dir="rtl"] [data-aos=fade-down-right] {
    transform: translate3d(100px, -100px, 0); 
}

[dir="rtl"] [data-aos=flip-right] {
    transform: perspective(2500px) rotateY(-100deg);
}
[dir="rtl"] [data-aos=flip-left] {
    transform: perspective(2500px) rotateY(100deg);
}
[dir="rtl"] [data-aos=flip-right].aos-animate {
    transform: perspective(2500px) rotateY(0);
}
[dir="rtl"] [data-aos=flip-left].aos-animate {
    transform: perspective(2500px) rotateY(0);
}

[dir="rtl"] [data-aos=slide-left] {
    transform: translate3d(-100%,0,0);
}
[dir="rtl"] [data-aos=slide-right] {
    transform: translate3d(100%,0,0);
}

[dir="rtl"] [data-aos=zoom-in-right] {
    transform: translate3d(100px,0,0) scale(.6);
}
[dir="rtl"] [data-aos=zoom-in-left] {
    transform: translate3d(-100px,0,0) scale(.6);
}

[dir="rtl"] [data-aos=zoom-out-right] {
    transform: translate3d(100px,0,0) scale(1.2);
}
[dir="rtl"] [data-aos=zoom-out-left] {
    transform: translate3d(-100px,0,0) scale(1.2);
}





/*  
  ----------------------------------------------------  
  -----      CSS for the button back to top      -----
  ----------------------------------------------------
*/
.topheader{
    position: relative;
    z-index: 999999;

}
.btn-back-to-top {
    position: fixed;
    bottom: 20px;
    display: none;
    z-index: 10;
}

[dir="ltr"] .btn-back-to-top {
    right: 20px;
}

[dir="rtl"] .btn-back-to-top {
    left: 20px;
}



/*  
  ------------------------------------------------
  -----      CSS for the top navigation      -----
  ------------------------------------------------
*/

.navigation {
    z-index: 1030;
}

#carouselExampleFade .carousel-control-prev, #carouselExampleFade .carousel-control-next{align-items:end;}
#carouselExampleFade .carousel-control-prev{left:80%;}
/*  
  -----------------------------------------------------  
  -----      CSS for the pulsing play button      -----
  -----------------------------------------------------
*/

.video-play-button {
    position: absolute;
    z-index: 10;
    top: 50%;
    box-sizing: content-box;
    display: block;
    width: calc(32px + 30px);
    height: calc(44px + 30px);
    border-radius: 50%;
    padding: 18px 20px 18px 28px;
}


[dir="ltr"] .video-play-button {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

[dir="rtl"] .video-play-button {
    right: 50%;
    transform: translateX(50%) translateY(-50%);
}
.sub-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;

    color: #f98d02;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 24px;
    margin-top: -0.34em;
    position: relative;
}
.sub-title:before, .sub-title:after {
        content: "";
        position: relative;
        height: 2px;
        width: 60px;
        background: #f98d02;
        display: inline-block;
    }
    .subtitle{
        display: flex;
        align-items:center;
    }
.subtitle:before{
        content: "";
        position: relative;
        height: 2px;
        width: 60px;
        background:#f98d02 ;
        display: inline-block;
}
.subtitle{gap:10px;}
.gy-30 {
    --bs-gutter-y: 30px;
}
.fs-08{font-size:0.85rem !important;}
.fs-55{font-size:1.09rem !important;}
.border-right-1{border-right:1px solid #ccc;}
.border-bottom-1{border-bottom:1px solid #ccc;}
@media (min-width: 1300px) {
    .row {
        --bs-gutter-x: 24px;
    }
}
.about-wrap-content{color:#8d8b8b}
.about-wrap1 .checklist {
    margin-bottom: 38px;
}
.course{
    background-image: url(../img/bg/service_bg_1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.courseblk {
    border: 2px solid #f8f8f8;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 40px;
    position: relative;
    text-align: center;
    background-color: #fff;
}
.logo-icon {
    height: 130px;
    width: 130px;
    line-height: 126px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    position: absolute;
    top: 0px;
    left: -51px;
    z-index: 1;
}

.logo-icon:before,.logo-icon:after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: #fff;
    z-index: -2;
}
.logo-icon:before {
    inset: 0;
    border: 1px solid #f98d02;
    z-index: -1;
}
.courseimg {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}
.service-url {
    background-color: #f98d02;
    position: absolute;
    bottom: -2px;
    font-size: 25px;
    left: 50%;
    transform: translate(-50%, 30%);
    height: 60px;
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
    top: 50%;
    opacity: 0;
    visibility: hidden;
}

span.plus-icon {
    display: inline-block;
    height: 30px;
    width: 30px;
    margin-top: 16px;
    position: relative;
}
span.plus-icon:before,
span.plus-icon:after{
    content: '';
    position: absolute;
    background: #ffffff;
    transition: .3s;
}

span.plus-icon:before {

    height: 100%;
    width: 2px;
    left: 50%;
    margin-left: -1px;
}

span.plus-icon:after {
    height: 2px;
    width: 100%;
    left: 0;
    top: 50%;
    margin-top: -1px;
}

.courseblk:hover .service-url{
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}
.service-overlay {
    background: #2a2a2a;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
}

.courseblk:hover .service-overlay{
    opacity: .6;
    visibility: visible;
}

@media only screen and (max-width: 1024px) {
    .courseblk {
        padding: 30px 20px 30px 20px;
    }
}

@media only screen and (max-width: 767px) {
    .courseblk {
        padding: 15px 15px 30px 15px;
    }
}
.footer-wrapper{
    background: url(../img/bg/footer_bg_1.png) no-repeat center;
    background-size: cover;
    --border-transition: 0.3s;
}
.footer-wrapper {
    --border-color: rgba(255, 255, 255, 0.3);
    --body-color: #AFB8C7;
    position: relative;
    z-index: 2;
    background-color: #1D2229;
    overflow: hidden;
}
.footer-layout1 .footer-wrap1 {
    padding: 50px 0;
}
.z-index{
    z-index:999;
}
.footer-layout1 {
    padding-top: 200px;
    margin-top: -200px;
}
.footer-layout1 .footer-text {
    max-width: 670px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
    color:#f8f8f8;
}
.footer-text {
    margin-top: -0.5em;
    margin-bottom: 25px;
}
.th-social a {
    display: inline-block;
    width: var(--icon-size, 46px);
    height: var(--icon-size, 46px);
    line-height: var(--icon-size, 46px);
    background-color: #1D2229;
    border: 1px solid #6B7586;
    color: #AFB8C7;
    font-size: 16px;
    text-align: center;
    margin-right: 7px;
    border-radius: 50%;
}
.th-social a:hover {
    background-color: #f98d02;
    border: 1px solid #f98d02;
    color: #fff;
}
.copyright{
    background-color: #1D2229;
}
.contact-feature {
    border-radius: 0px;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .contact-feature:not(:last-child) {
    margin-bottom: 30px;
  }
  .contact-feature .box-icon {
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 18px;
    color: #fff;
    background-color: #f98d02;
    border-radius: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 8px 0 0 8px;
    flex: none;
  }
  .contact-feature .box-icon:before, .contact-feature .box-icon:after {
    content: "";
    position: absolute;
    inset: -8px 8px 8px -8px;
    background: #252a31;
    z-index: -2;
  }
  .contact-feature .box-icon:before {
    inset: 0;
    background: #f98d02;
    z-index: -1;
  }
  .contact-feature .box-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 3px;
    color:#fff;
  }
  .contact-feature .box-text {
    line-height: 24px;
  }
  .contact-map iframe {
    width: 100%;
    height: 470px;
    border-radius: 0;
    
}
  .f_text{color:#6a6a6a;}
  .contact-feature .box-text a {
    max-width: fit-content;
    color: inherit;
    word-break: break-all;
  }
  .contact-feature .box-text a:hover {
    color: #f98d02;
  }
  .contact-wrap1 {
    padding: 55px;
}
.contact-wrap1 .sec-title {
    border-bottom: 1px solid #f98d02;
    padding-bottom: 28px;
    color:#fff;
    margin-bottom:22px;
}
.img-box3 .img1 {
    width: 100%;
}.bg-mask {
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}
.img-box3 .img1 img {
    width: 100%;
}
.img-box3 .year-counter {
    position: absolute;
    right: 0;
    bottom: 0;
}
.year-counter {
    min-width: 217px;
    padding: 30px 25px 26px;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}
.year-counter:after {
    content: "";
    position: absolute;
    border: 1px solid #1D2229;
    inset: 8px;
    border-radius: 24px;
    z-index: -1;
}
.year-counter .star-icon {
    position: absolute;
    top: 24px;
    right: 24px;
}
.year-counter_number {
   
    font-size: 30px;
    font-weight: 500;
    color: #f98d02;
    margin-bottom: 6px;
    margin-top: -0.1em;
}
.year-counter_text {
    color: #1D2229;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: -0.5em;
    display: block;
}
.about-grid {
    border: 1px solid #d8dde1;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.about-grid-number {
    background: #f98d02;
    border-radius: 10px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    flex: none;
}
.about-grid_title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    color:#000;
}
.missionblk{
    background-color: #fff;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.06);
    transition:0.4s;
    padding: 0px 30px 30px;
    border-radius: 30px;
    position: relative;
    margin-top: 40px;
    z-index: 1;
}
.missionblk .box-shape {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    
}
    .box-title {
        font-family: "Kanit", sans-serif;
        font-size: 24px;
        font-weight: 500;
        margin-bottom: 13px;
        margin-top: 23px;
        color:#000;
    }
    .f_family{ font-family: "Kanit", sans-serif;}
    .grid-wrapper {
        display: grid;
        grid-gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-auto-rows: 200px;
        grid-auto-flow: dense;
    }
    .grid-wrapper > a {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .grid-wrapper > a > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }
    .grid-wrapper .wide {
        grid-column: span 2;
    }
    .grid-wrapper .tall {
        grid-row: span 2;
    }
    .grid-wrapper .big {
        grid-column: span 2;
        grid-row: span 2;
    }
.checklist.style-line li {

    position: relative;
    gap: 15px;
}
.checklist li:not(:last-child) {
    margin-bottom: 17px;
}
.checklist li {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
}
.checklist.style-line li::before {
    content: "";
    position: relative;
    height: 1px;
    width: 30px;
    background: #f98d02;
}
.video-play-button:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: calc(65px + 30px);
    height: calc(65px + 30px);
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulseBorder 1500ms ease-out infinite;
}

.video-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: calc(50px + 30px);
    height: calc(50px + 30px);
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video-play-button:hover:after {
    background: rgba(var(--bs-primary-rgb), 0.8);
}

.video-play-button span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: calc(16px + 5px) solid white;
    border-top: calc(11px + 5px) solid transparent;
    border-bottom: calc(11px + 5px) solid transparent;
}


@keyframes pulseBorder {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}




