
  @import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700;900&display=swap');
  
  @import url('https://fonts.googleapis.com/css2?family=Chonburi&display=swap');

:root{
    --main-color:#F5C34D;
    --black:#244361;
    --box-shadow:0 5px 10px rgba(0,0,0,.1);
}

* {
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none !important;
    text-transform: capitalize;
    font-family: 'Chakra Petch', sans-serif;

}
.container_lesson {
    --bs-gutter-x: 1.5rem;
    width: 100%;
    padding-right: var(--bs-gutter-x, 5rem);
    padding-left: var(--bs-gutter-x, 5rem);
    margin-right: auto;
    margin-left: auto;
}

.fixed-top {
    position: absolute;
}

html{
    scroll-padding-top: 60px;
    scroll-behavior: smooth;
}

section{
    padding: 50px 0px 0px;
}

section:nth-child(odd){
    background: #ffffff;
}

.heading {
    text-align: center;
    padding:0 15px;
    padding-bottom: 1rem;
    color: #44256f;
    font-size: 30px;
    font-weight: 900;
}

.heading span {
    color:var(--main-color);
}

.link-btn{
    display: inline-block;
    background:var(--main-color);
    color:#fff;
    border-radius: 50px;
    padding:5px 30px;
    font-size: 17px;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.link-btn:hover{
    color:#fff;
    background:var(--black);
}
.link-btn-lesson {
    display: inline-block;
    background: #F8F1FC;
    color:#44256f;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding:5px 30px;
    font-size: 17px;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    margin-top: 10px;
}

.link-btn-lesson:hover {
    color:#44256f;
    box-shadow: 1px 1px 15px #e2c1f3;
               
}


header{
    /*box-shadow: var(--box-shadow);*/
    background: transparent;
}

header .logo{
    font-size: 20px;
    color:var(--black);
}
header .logo img {
    width: 120px;
}

header .logo span{
    color:var(--main-color);
}

header .nav a {
    width: 145;
    text-align: center;
    margin-left: 15px;
    border-radius: 50px;
    padding:10px 10px;
    background: var(--main-color);
    box-shadow: var(--box-shadow);
    color: #fff;
}
.nav .link-header {
    width: 145;
    text-align: center;
    margin-left: 15px;
    border-radius: 50px;
    padding:10px 10px;
    box-shadow: none;
    background: transparent;
    color: #fff;
}
header .nav a.active,
header .nav a:hover{
    color:#44256f;
    background: #fad379;
    box-shadow: 0px 0px 20px #F5C34D;
  
}
.nav .color-buttom {
    width: 145px;
    text-align: center;
    border-radius: 50px;
    color:var(--main-color);
    padding:10px 10px;
    background: transparent;
    box-shadow: var(--box-shadow);
    border: 2px solid var(--main-color);
    display: flex;
    justify-content: center;
}
.nav .color-buttom:hover {
    box-shadow: 0px 0px 30px #F5C34D;
    background: transparent;
    color: #f5b624;
}
#menu-bar {
    color: #220445;
    cursor: pointer;
    font-size: 25px;
    transition: .2s linear;
}

.home {
    background: url(../images/bg_wm01.png) no-repeat;
    background-size: cover;
    padding-bottom: 100px;
}
.home img {
    width: 110%;
}
.home .content span{
    color:var(--main-color);
    font-size: 20px;
    
}
.home .content {
 
   margin-bottom: 80px;
}
.home .content h3 {
    color:#fff;
    font-size: 35px; 
    font-weight: 900;
    white-space: nowrap;
    color:var(--main-color);
    /*text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 4;*/
}

.home .content h4 {
    color:#fff;
    font-size: 35px; 
    font-weight: 900;
    white-space: nowrap;

    /*text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 4;*/
}
.about .content h3 {
    margin-bottom: 25px;
    color: #44256f;
    font-size: 33px;
}

.about .text_cont h4 {
   text-align: center;
   color: #F5C34D;

}
.about .text_cont {
   
    padding: 20px 50px 0px;
    border-radius: 20px;
    border: 8px solid #ffffff;
    border-radius: 50px;
    background: linear-gradient(35deg,  #7342d4 10%,#b08ff8);
    box-shadow:  2px 2px 30px #f0b9fc,
                 -2px -2px 30px #96e5f8;
    margin-bottom: 50px;

}
.about  .objective img {
    width: 100%;
    display: flex;
    margin: 0 auto;
}
.about  .card_objective {
    padding: 16px;
    background: #f8edfdce;
    border-radius: 20px;
    border: 3px solid #fff;
    box-shadow: 0 3px 6px #c7affc8c;
    margin-bottom: 10px;
    color:#44256f;
    font-size: 16px;
}
.about .text_cont p{
    margin-top: 20px;
    margin-bottom: 25px;
    color:#ffffff;
}
.about .text_cont img {
    color: #F5C34D;
    width: 42px;
    height: 42px;
    border: 3px solid #f8db9d;
    border-radius: 10px;
    background-color: #6736e5;
    padding: 8px 6px;
    display: flex;
    margin: 10px auto;
}

/*------------procedure---------------*/
.procedure .heading{
    text-align: center;
    padding-top:2rem;
    padding-bottom: 3rem;

}

.procedure .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
 
}

.procedure .box-container .box { 
    
    width: 390px;
    height: 300px;
    text-align: center;
    position: relative;
    padding: 20px 20px 20px;
    margin-bottom: 35px;
}

.procedure .box-container .box img{
    height:10rem;
    width:10rem;
}

.procedure .box-container .box h3{
    font-size: 17px;
    color:#7F49EB;
    padding-top: 10px;
    line-height: 1.5;

}
.procedure .box-container .box p {
    text-align: left;
    margin-left: 35px;
    color: #666;
}
.procedure .box-container .box .text-ss{
    color: #666;

}
.procedure .box-container .box .text-btt{
    display: block;
    position: absolute;
    top: 30px; left: 6rem;
    height:3rem; width:3rem;
    line-height: 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    color:#fff;
    background: #7F49EB;
    border-radius: 5rem;
}

.contact form{
    padding:15px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.contact form .box,
.contact form textarea{
    background:#f8f8fe;
    border-radius: 5px;
    font-size: 17px;
    padding:10px;
    margin:7px 0;
    width: 100%;
    text-transform: none;
    color:var(--black);
}

.contact form textarea {
    resize: none;
    height: 200px;
}

.contact .map{
    border-radius: 5px;
    height: 100%;
    width:100%;
}

.blogs .box{
    width: 350px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    background:#fff;
}

.blogs .box .image{
    height: 200px;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    background:#f8f8fe;
}

.blogs .box .image img {
    transition: .2s linear;
}

.blogs .box:hover .image img {
    transform: scale(1.1);
}

.blogs .box .content h3 {
    padding:5px 0;
    font-size: 20px;
    color:var(--black);
}
.blogs .box .content h6 {
    color: #6d6c6c;
}

.blogs .box .content .icons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.1);
}

.blogs .box .content .icons a {
    color:#777;
    font-size: 13px;
}

.blogs .box .content .icons a i {
    padding-right: 7px;
}


.blogs .box .content .icons a:hover {
    color:var(--main-color);
}

.container_partner {
    display: flex;
    justify-content: center;
    margin: 20px;
}
.box_partner  {
    width: 300px;
    height: 200px;
    background: transparent;
    box-shadow: 2px 2px 20px #7342d43d;
    border-radius: 20px;
    margin: 20px;
}
.box_partner img {
    display: flex;
    margin: auto;
    
}
.box_partner .img_partner01 {
   width: 200px;
   height: 130px;
   margin-top: 20px;
}
.box_partner .img_partner02 {
    width: 145px;
    height: 170px;
    margin-top: 15px;
 }
 .box_partner .img_partner03 {
    width: 180px;
    height: 140px;
    margin-top: 25px;
 }




.footer {
    background: url(../images/bg_footer01.png) no-repeat;
    background-size: cover;

}
.footer .box{
    flex:1 1 250px;
    display: table;
    
}
.box .box_co {
    display: table-cell;
    vertical-align: middle;
    text-transform: lowercase;
}
.box .box_co a {
    text-transform: lowercase;
}
.footer .box h3{
    font-size: 20px;
    color: #F5C34D;
   
}
.footer .box a {
    display: block;
    font-size: 14px;
    color: #fff;
    padding:5px 0;
}

.footer .box a:hover {
    color: #F5C34D;
}

.footer .credit{
    text-align: center;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.485);
    margin-top: 10px;
    padding-top: 20px;
}

.footer .credit span {
    color: #F5C34D;
}

.scroll-top {
    position: fixed;
    bottom: 5rem; 
    right: 2rem;
    z-index: 100;
    display: none;
}

.scroll-top img {
    height: 4rem;
}



/*      *********RESONSIVE**************     */

@media (max-width:1399px){

    .home .content h3{
        font-size: 50px;
    }

}
/* media queries  */
@media (max-width:1200px){

    .home .content h3{
        font-size: 45px;
    }

}
@media (max-width:991px) {

    .home .content h3{
        font-size: 36px;
    }
    .about  .objective img {
        width: 75%;
    }
    .home {
        padding-bottom: 0px;
    }
}

@media (max-width: 820px) {

    .home .content h3,.about .content h3,.heading,.procedure .heading{
        font-size: 28px;
    }
    .about .text_cont {
        padding: 20px 20px 0px;
    
    }
  
}
@media (max-width:798px) {
    .procedure .box-container .box{
        
        width: 370px;
        margin-bottom: 25px;
    }
    .procedure .box-container .box .text-btt {
        left: 5rem;
    }
    .home .content h3,.about .content h3,.heading,.procedure .heading{
        font-size: 26px;
    }
    
}

@media (max-width:768px){
    .home .content {
        margin-bottom: 60px;
     }
    
}
@media (max-width:767px){

    header .nav {
        
        position: absolute;
        top:100%; 
        width: 75%;
        left: 0; 
        right: 0;
        background: #7F49EB;
        border-top: 1px solid rgba(0,0,0,.1);
        border-bottom: 1px solid rgba(0,0,0,.1);
        transition: .4s linear;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
        margin: auto;
        padding: 2.5rem 0;
        border-radius: 2rem;
        flex-direction: column;
    }

    header .nav.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    header .nav a,.nav .color-buttom{
        display: block;
        width: 150px;
        margin: 10px auto;
    }
    .fa-times{
        transform: rotate(180deg);
    }

    .pt-5 {
        padding-top: 5rem !important

    }
    .home img {
        width: 90%;

    }
    .home .content {
        margin-bottom: 0px;
     }
     .container {
        --bs-gutter-x: 1.5rem;
        padding-right: var(--bs-gutter-x, 4rem);
        padding-left: var(--bs-gutter-x, 4rem); 
        margin-right: auto;
        margin-left: auto;
    }
    .scroll-top img{
        height: 3rem;
    }

}
@media (max-width: 759px) {

    .procedure .box-container .box{
        margin-bottom: 0;
        height: auto;
    }
}
@media (max-width: 575px){
    .container_lesson {
        --bs-gutter-x: 2.5rem;
        padding-right: var(--bs-gutter-x, 5rem);
        padding-left: var(--bs-gutter-x, 5rem);
    }
    .text_cont .gg {
        display: flex; 
        justify-content: center;
        align-items: center;

    }
  
    .text_cont .gg img {
        flex-direction: column;
        margin-right: 10px;
    }
    .about .text_cont {
        padding: 20px 10px 20px 10px;
    
    }
    .about .text_cont p {
        margin-bottom: 5px;
    }

}