:root {
    --main-color: #1C1678;
    --second-color: #8576FF;
    --third-color: #1D1D1D;
    --fourth-color: #F9FAFC;
    --fifth-color: #CCCCCC;
    --text-color: #8E8E8E;
    --link-color: #8E8E8E;
}
html{
    margin: 0 !important;
}
body {
    color: var(--text-color);
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    background: var(--fourth-color);
    padding: 0 !important;
}
a{
    text-decoration: none;
    color: var(--link-color);
}
ul.menu {
    position: relative;
}
a:hover{
    color: var(--main-color);
}
img {
    max-width: 100%;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
h1, h2, h3, h4, h5, h6{
    color: var(--third-color);
}
*{
    transition: all 0.3s ease-out;
}

.placehold{
    padding: 500px 0;
}


header{
    padding: 30px 0;
}

ul.menu{
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}
ul.menu li a{
    font-size: 18px;
    font-weight: 300;
}
ul.menu li.active a{
    color: var(--main-color);
    font-weight: 500;
}
ul.menu li:hover a{
    color: var(--main-color);
}

section{
    padding: 60px 0;
}

section.home{
    text-align: center;
}
section.home h2{
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;
}
section.home h2 span{
    font-weight: 300;
    display: block;
}
section.home .images{
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    align-items: flex-start;
}
section.home .images img{
    width: calc(25% - 25px);
    border-radius: 290px;
    aspect-ratio: 2/3;
    object-fit: cover;
    margin-top: 100px;
}
section.home .images img:first-child,
section.home .images img:last-child{
    margin-top: 0;
}
section.home p{
    font-size: 16px;
    max-width: 750px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.btn-theme{
    border: none;
    border-radius: 150px;
    background: var(--second-color);
    padding: 8px 30px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}
.btn-theme:hover{
    background: var(--main-color);
    color: #fff;
}
.btn-theme i{
    margin-left: 8px;
}
section.home .btn-theme{
    font-size: 18px;
    line-height: 30px;
    padding: 4px 40px;
}

h6.subtitle{
    font-size: 20px;
    font-weight: 300;
    color: var(--second-color);
    margin-bottom: 0;
}
h2.title{
    font-size: 44px;
    line-height: 66px;
    font-weight: 400;
}

.widget{
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 50px 0px #F0F0F040;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding: 34px 20px;
    gap: 24px;
    color: var(--third-color);
    font-size: 24px;
    width: 100%;
}

.mt-50{
    margin-top: 50px;
}

.education-box{
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 50px 0px #F0F0F040;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.education-box h3{
    font-size: 24px;
    font-weight: 300;
    margin: 20px 0;
}
.education-box img{
    box-shadow: 0px 0px 50px 0px #F0F0F040;
    border-radius: 10px;
}
.education-box p{
    font-weight: 300;
}
.education-box a{
    margin-top: 40px;
}

.theme-link{
    color: var(--second-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.theme-link i{
    margin-left: 8px;
}

.post-box{
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.post-box h3{
    font-size: 24px;
    font-weight: 300;
    margin: 20px 0;
}
.post-box img{
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.post-box p{
    font-weight: 300;
    color: var(--text-color);
}
.post-box a{
    margin-top: 20px;
}
section.posts{
    background: var(--main-color);
    color: #fff;
    position: relative;
    margin: 60px 0;
}
section.posts:before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url(../img/bgline.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: .2;
}
section.posts .container{
    position: relative;
    z-index: 2;
}
section.posts h2.title{
    position: relative;
}
section.posts h2.title:before{
    content: "“";
    color: var(--second-color);
    font-size: 72px;
    position: relative;
    top: 18px;
    margin-right: 10px;
}

.post-slider .slick-slide{
    padding: 0 10px;
}

.newsletter:before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url(../img/bgline2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: .2;
}
.newsletter{
    background: var(--main-color);
    padding: 70px;
    color: #fff;
    text-align: center;
    position: relative;
    border-radius: 20px;
    box-shadow: 0px 0px 50px 0px #F0F0F040;
}
.newsletter h2{
    max-width: 60%;
    margin: 0 auto;
    color: #fff;
}
.newsletter p{
    max-width: 60%;
    margin: 30px auto;
}
.newsletter .form-group{
    max-width: 50%;
    margin: 0 auto;
    position: relative;
}
.newsletter .form-group button{
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border-radius: 50px;
    line-height: 1;
}
.newsletter .form-group input{
    border-radius: 50px;
    padding: .67rem 1rem;
    color: var(--text-color);
}

footer{
    padding: 40px 0;
    background: #fff;
    margin-top: 60px;
}
footer .bottom{
    margin-top: 30px;
    border-top: 1px solid #E8E8E8;
    padding-top: 30px;
}
footer p{
    margin: 0;
}
footer a, footer p{
    color: var(--third-color);
}
ul.f-menu{
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}
ul.f-menu li a{
    font-size: 18px;
    font-weight: 300;
    color: var(--link-color);
}
ul.f-menu li.active a{
    color: var(--third-color);
    font-weight: 500;
}
ul.f-menu li:hover a{
    color: var(--third-color);
}

h2.page-title{
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;
}
h2.page-title span{
    font-weight: 300;
    display: block;
}

section.video video{
    width: 100%;
    aspect-ratio: 16/5;
    border-radius: 20px;
    object-fit: cover;
}

.education-box-2{
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.education-box-2 h3{
    font-size: 24px;
    font-weight: 300;
    margin: 20px 0;
}
.education-box-2 img{
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.education-box-2 p{
    font-weight: 300;
    color: var(--text-color);
}
.education-box-2 a{
    margin-top: 10px;
}

section.content h2{
    font-size: 44px;
    font-weight: 600;
    line-height: 66px;
    margin-bottom: 25px;
}
section.content h2 span{
    display: block;
    font-weight: 300;
}
section.content p{
    font-weight: 300;
    font-size: 16px;
    line-height: 22.5px;
}
section.content .btn-theme{
    margin-top: 25px;
}
section.content img{
    width: 100%;
}

.theme-bg{
    background: var(--main-color);
}
.default-margin{
    margin: 60px 0;
}

section.area{
    margin: 60px 0;
    background: var(--main-color);
    color: #fff;
}

section.area h2{
    font-weight: 600;
    font-size: 38px;
    line-height: 57px;
    color: #fff;
    margin-bottom: 30px;
}
section.area h2 span{
    font-weight: 300;
    display: block;
}
section.area .tabs{
    margin-top: 40px;
}
section.area .tabs .nav-tabs{
    border: none;
}
section.area .tabs .nav-item button{
    width: 100%;
    text-align: center;
    border: none !important;
    border-bottom: 1px solid #fff !important;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    padding: 10px 0;
}

section.area .tabs .nav-tabs .nav-link:focus, section.area .tabs .nav-tabs .nav-link:hover,
section.area .tabs .nav-tabs .nav-item.show .nav-link, section.area .tabs .nav-tabs .nav-link.active{
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--second-color) !important;
    color: var(--second-color) !important;
    font-weight: 600;
}
section.area .tabs .tab-pane{
    padding-top: 30px;
}
section.area .cat-item a{
    font-size: 24px;
    font-weight: 300;
    color: #fff;
    transition: none;
    margin-bottom: 10px;
    display: block;
}
section.area .cat-item a:hover{
    font-weight: 400;
    text-decoration: underline;
}
section.area .cat-item p{
    font-size: 15px;
    font-weight: 300;
    line-height: 22.5px;
    max-width: 75%;
}
section.area .cat-item{
    margin-bottom: 20px;
}
section.content img{
    border-radius: 20px;
}

section.area .tabs h4{
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 30px;
}
section.area .tabs .tab-content p{
    font-weight: 300;
    font-size: 15px;
    line-height: 22.5px;
}

@media(min-width:768px){
    section.content.reverse .row{
        flex-direction: row-reverse;
    }
    section.content.reverse .col-md-5{
        text-align: right;
    }
}

.widget-2 h4{
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    margin: 10px 0;
}
.widget-2 p{
    font-size: 15px;
    font-weight: 300;
    margin: 0;
}

.contact-box{
    background: #fff;
    box-shadow: 0px 0px 50px 0px #F0F0F040;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-box h3{
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    margin-bottom: 10px;
}
.contact-box p{
    font-size: 15px;
    font-weight: 300;
    line-height: 22.5px;
    margin-bottom: 10px;
}
.contact-box a{
    color: var(--second-color);
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
}
.contact-form .form-control{
    background: transparent;
    border: none;
    border-radius: unset;
    border-bottom: 2px solid var(--fifth-color);
    color: var(--fifth-color);
    box-shadow: none !important;
}
.contact-form .form-control::placeholder{
    color: var(--fifth-color);
}
.contact-form .form-control:focus{
    color: var(--second-color);
    border-color: var(--second-color);
}

section.area .btn-theme:hover{
    background: #fff;
    color: var(--second-color);
}

header .menu-open{
    display: none;
}
header{
    position: relative;
}

.education-slider .slick-slide{
    padding: 0 15px;
}
.education-box{
    min-height: 420px;
}
.education-box-2{
    min-height: 555px;
}

.contact-box{
    border-radius: 20px;
}

.only-m{
    display: none !important;
}

.education-box.education-box-3{
    min-height: 360px;
}
.new-category{
    margin-top: 30px;
}
.new-category:first-child{
    margin-top: 0;
}
.new-category a.title{
    display: flex;
    width: 100%;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: 10px;
}
.new-category a.title h4{
    font-size: 32px;
    line-height: 1.3;
    font-weight: 500;
    margin: 0;
}
.new-category a.title p{
    color: #8E8E8E;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    margin: 0;
}
.new-category .alt{
    margin-top: 20px;
}
.new-category .alt a{
    color: #1D1D1D;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 20px;
    display: block;
    border-bottom: 1px solid #1D1D1D;
    padding-bottom: 5px;
}
.category-list{
    margin-top: 40px;
}
.category-list h3{
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    color: #fff;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #fff;
    max-width: 400px;
}
.category-list h4{
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    color: #fff;
    margin-top: 5px;
}
.category-list ul li{
    margin: 3px 0;
}
.category-list ul li a{
    font-weight: 400;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}
.category-list ul li a:hover{
    color: #8576FF;
    font-weight: 500;
}

ul.social{
    display: flex;
    align-items: center;
    gap: 15px;
}
ul.social li a{
    font-size: 24px;
}

@media(max-width:768px){
    .new-category a.title h4{
        font-size: 22px;
    }
    .new-category a.title p{
        font-size: 14px;
    }
    .new-category .alt a{
        font-size: 16px;
    }
    .new-category a.title img{
        width: 50px;
    }
    .new-category a.title{
        gap: 10px;
        align-items: flex-start;
    }
    .only-m{
        display: block !important;
    }
    .only-d{
        display: none !important;
    }
    .education-box{
        min-height: 420px;
    }
    .education-box-2{
        min-height: auto;
    }
    header .menu-open{
        display: block;
        text-align: right;
        font-size: 18px;
        color: var(--main-color);
    }
    header ul.menu{
        display: none;
        padding: 20px;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--second-color);
        flex-direction: column;
    }
    header{
        background: #fff;
        padding: 20px 0;
    }
    header a.logo img{
        height: 40px;
    }
    header ul.menu.show{
        display: flex;
    }
    ul.menu li a{
        color: #fff;
    }
    ul.menu li.active a{
        color: var(--main-color);
    }
    section.home h2{
        font-size: 34px;
        line-height: 51px;
    }
    section.home .images{
        margin-top: 40px;
    }
    section.home .images img{
        display: none;
        border-radius: 20px;
        aspect-ratio: 2;
    }
    section.home .images img:first-child{
        display: block;
        width: 100%;
    }
    section{
        padding: 40px 0;
    }
    .widget.mt-50{
        margin-top: 0;
    }
    .widget{
        margin-bottom: 20px;
    }
    .mt-5{
        margin-top: 2rem;
    }
    .mb-5{
        margin-bottom: 2rem !important;
    }
    h2.title{
        font-size: 30px;
        line-height: 51px;
    }
    section.posts h2.title:before{
        font-size: 60px;
        margin-right: 5px;
    }
    section.posts h2.title{
        margin-bottom: 20px;
    }
    section.posts .text-end{
        text-align: left !important;
    }
    section.posts:before{
        background-image: url(../img/bgline3.png);
    }
    .newsletter{
        padding: 60px 30px;
    }
    .newsletter .form-group,
    .newsletter p,
    .newsletter h2{
        max-width: 100%;
    }
    ul.f-menu{
        flex-direction: column;
        align-items: flex-start;
        margin-top: 30px;
    }
    ul.f-menu{
        gap: 5px;
    }
    footer .text-end{
        text-align: left !important;
        margin-top: 20px;
    }
    h2.page-title{
        font-size: 34px;
        line-height: 51px;
    }
    section.video video{
        aspect-ratio: 16 / 9;
    }
    .education-slider .mt-50{
        margin-top: 0;
    }
    section.content.first{
        text-align: center;
    }
    section.content h2{
        font-size: 34px;
        line-height: 51px;
    }
    section.content.first img{
        margin-top: 40px;
    }
    section.area h2{
        font-size: 30px;
        line-height: 45px;
    }
    section.area .cat-item a{
        font-size: 20px;
        line-height: 30px;
    }
    section.area .btn-theme{
        margin-bottom: 10px;
    }
    section.area{
        margin: 40px 0;
    }
    section.content img{
        margin-top: 30px;
    }
    section.content.reverse{
        text-align: right;
    }
    section.content.reverse{
        padding: 0;
    }
    .widget-2{
        margin-bottom: 2rem;
    }
    .text-center-m{
        text-align: center;
    }
    .mb-5-m{
        margin-bottom: 2rem;
    }
    .newsletter:before{
        background-image: url(../img/bgline4.png);
    }
}

.post-content ul{
    list-style: disc;
    padding-left: 2rem;
}

section.area.product-area h4{
    color: var(--second-color);
}


.post-slider .slick-track {
    display: flex;
}
.post-slider .slick-track .slick-slide {
    height: auto;
}

section.home video{
    display: none !important;
}

header a.logo img{
    height: 54px;
}

@media(max-width:768px){
    section.content.reverse{
        text-align: left;
    }
    header a.logo img{
        height: 46px;
    }
    section.home video{
        display: block !important;
        width: 100%;
        height: auto;
        margin-top: 40px;
        border-radius: 20px;
    }
    section.home .images{
        display: none;
    }
    .widget{
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px;
    }
    .widget img{
        width: 60px;
    }
    .slick-dots li button:before{
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    .slick-dots li,
    .slick-dots li button{
        width: 30px;
        height: 30px;
    }
    .slick-dots li{
        margin: 0;
    }
    .education-slider .slick-dots li.slick-active button:before,
    .education-slider .slick-dots li button:before{
        color: var(--main-color);
    }
    .post-slider .slick-dots li.slick-active button:before,
    .post-slider .slick-dots li button:before{
        color: #fff;
    }
    .slick-dots{
        position: static;
        margin-top: 15px;
    }
    .slick-dotted.slick-slider{
        margin-bottom: 0;
    }
    .widget-2{
        display: flex;
        gap: 15px;
        align-items: center;
        margin-bottom: 1rem !important;
    }
    .widget-2 img{
        width: 40px;
        object-fit: contain;
    }
    .widget-2 h4{
        font-size: 16px;
        line-height: 1.3;
        margin: 0;
    }
}

.submenu{
    position: absolute;
    right: 0;
    top: 100%;
    display: none;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 4px 8.6px -3px #00000040;
    padding: 20px;
    gap: 10px;
}
ul.menu li:hover .submenu{
    display: flex;
}
.submenu > *{
    width: calc(100% / 4);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 240px;
    transition: all .2s ease;
}
.submenu > div{
    padding-left: 10px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
}
.submenu > * > li{
    border: 1px solid #E8E8E8;
    border-radius: 20px;
    padding: 15px;
    width: 100%;
}
.submenu > * > li:hover{
    background: #F6F6F6;
}
.submenu > * > li > a{
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
}
.submenu > * > li > ul{
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
    width: 100%;
}
.submenu > * > li > ul a{
    font-size: 14px;
    font-weight: 400 !important;
    color: #8E8E8E !important;
    line-height: 1;
}
.submenu > * > li > ul li:hover a{
    font-weight: 500 !important;
    color: #1D1D1D !important;
}
.submenu > div h4{
    color: #1D1D1D;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.36;
}
.submenu > div p{
    font-size: 14px;
    color: #1D1D1D;
    line-height: 1.44;
}
.submenu > div a{
    color: #8576FF !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}
@media(max-width: 768px){
    .submenu{
        flex-direction: column;
        position: static;
    }
    .submenu > *{
        width: 100%;
    }
}