* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-fluid {
    /* scroll-snap-type: y mandatory; */
    overflow-y: auto;
    height: 100vh;
    /* width: 100wh; */
}

section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* scroll-snap-align: start; */
}

h1 {
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 4px #000;
}


.one {
    position: relative;
    z-index: 1;
    height: 100vh;
}

.one::before {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    bottom: 0;
    left: -12px;
    background: url('../asset/image/wallpaper1.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.one img {
    width: max(130px, 20vw);
}

.one .one-logo-1 {
    text-align: right;
}

.one .one-logo-2 {
    text-align: left;
}

.two {
    height: auto !important;
}

.three {

}

.four {

}

.five {
    background: #eee;
    margin: 0 -12px;
}

.six {
    height: auto !important;
    margin: 0 -12px;
}

.seven {
    height: auto !important;
    margin: 0 -12px;
}

.sticky-top {
    margin: 0 -12px;
    color: #fff;
    font-size: 12pt;
}

.navbar {
    position: relative;
}
.navbar a {
    text-decoration: none !important;
    color: #fff;
}

.navbar a:hover {
    text-decoration: none !important;
    color: #fff;
}

.navbar-brand {
    margin-left: 60px;
    color: #fff;
    font-size: 12pt;
}

.navbar-menu {
    display: flex;
}

.navbar-menu a {
    padding: 0 20px;
}

.school-logo {
    position: absolute;
    left: 20px;
}

/* Start Ham-menu */

.ham-menu {
    display: inline-block;
    cursor: pointer;
    padding-right: 20px;
}

.bar1,
.bar2,
.bar3 {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 8px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -8px) rotate(45deg);
}

.ham-menu {
    display: none;
}

/* End Ham-menu */

.two-content {
    height: auto;
    width: 100%;
    padding: 35px 25px;
}

.card {
    overflow: hidden;
    width: 100%;
}

.card-img-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
}

.card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: center bottom;
    max-width: 100%;
    max-height: 80%;
}

.card-title {
    margin-top: calc(-20% + 20px);
}

.card-title span {
    display: block;
}

.card-title span:nth-child(1) {
    color: #181947;
    font-style: italic;
    font-weight: bold;
}

.card-title span:nth-child(2) {
    margin-top: 8px;
    color: orangered;
}

.card-text {
    margin-top: 20px;
    font-size: 12pt;
}

.btn-readmore {
    font-size: 11pt;
    color: #fff;
    background: #0d6efd;
    width: 140px;
    height: 36px;
}
.btn-readmore:hover {
    color: #fff;
    background: #0b5ed7;
}

.bg-navy {
    background: #181947;
}

.text-color-navy {
    color: #181947;
}

.text-color-orange {
    color: orangered;
}

.sv-2 {
    transition-delay: 100ms;
}

.sba {
    transition-delay: 200ms;
}

.phone-btn {
    padding: 8px 20px;
    border-radius: 25px;
}

/* page three */

.three img {
    width: 90%;
}

.three {
    height: auto !important;
    margin: 0 -12px;
    padding: 30px;
    background: #eee;
}
.three-content div div:nth-child(1) {
    color: #181947;
    font-style: italic;
    font-weight: bold;
    font-size: 20pt;
    margin-top: 5vh;
    line-height: 2;
}

.three-content div div:nth-child(2) {
    color: orangered;
    font-weight: bold;
    font-size: 14pt;
}

.three-content div p {
    text-indent: 50px;
    font-size: 14pt;
    line-height: 2;
    margin-top: 20px;
}

/* page four */

.four img {
    width: 90%;
}

.four {
    height: auto !important;
    padding: 30px;
}
.four-content div div:nth-child(1) {
    color: #181947;
    font-style: italic;
    font-weight: bold;
    font-size: 20pt;
    margin-top: 5vh;
    line-height: 2;
}

.four-content div div:nth-child(2) {
    color: orangered;
    font-weight: bold;
    font-size: 14pt;
}

.four-content div p {
    text-indent: 50px;
    font-size: 14pt;
    line-height: 2;
    margin-top: 20px;
}

.scholarship_img {
    position: absolute;
    right: -12px;
    bottom: 0;
    width: 300px !important;
    height: auto !important;
    opacity: 1;
    z-index: -1;
}

.scholarship_img:hover {
    opacity: 1;
}

/* page five */

.five img {
    width: 90%;
}
.five {
    height: auto !important;
    padding: 30px;
}

.five-content {
    padding-left: 50px;
}
.five-content .row {
    line-height: 2;
    color: #181947;
}

.five .title {
    position: relative;
}

.five .title-underline {
    position: absolute;
    right: 15px;
    top: 75px;
    background: #181947;
    width: 200px;
    height: 7px;
}

.bi-star,
.bi-star-fill {
    color: orangered
}

hr {
    color: orangered
}

.five-content .row:nth-child(2) {
    transition-delay: 100ms;
}

.five-content .row:nth-child(3) {
    transition-delay: 200ms;
}

.five-content .row:nth-child(4) {
    transition-delay: 300ms;
}

.five-content .row:nth-child(5) {
    transition-delay: 500ms;
}

.five-content .row:nth-child(6) {
    transition-delay: 600ms;
}

.five-content .row:nth-child(7) {
    transition-delay: 700ms;
}

.five-content .row:nth-child(8) {
    transition-delay: 800ms;
}

.five-content .row:nth-child(9) {
    transition-delay: 900ms;
}

.five-content .row:nth-child(10) {
    transition-delay: 1000ms;
}

.five-content .sub {
    margin-left: 50px;
}

/* page - six */
.page-six {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    grid-auto-flow: row;
    grid-template-areas:
        "div1 div2";
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    width: 100%;
    padding: 35px 35px;
    background: #fff;
}

.page-six .div1 {
    grid-area: div1;
}

.page-six .div2 {
    grid-area: div2;
}

.page-six img {
    width: 90%;
    /* height: 100%; */
}

.page-six .div5 .row:nth-child(2) {
    transition-delay: 200ms;
}

.page-six .div5 .row:nth-child(3) {
    transition-delay: 400ms;
}

.page-six .div5 .row:nth-child(4) {
    transition-delay: 600ms;
}

.page-six .div5 .row:nth-child(5) {
    transition-delay: 800ms;
}

.page-six .div5 .row:nth-child(6) {
    transition-delay: 1000ms;
}

.page-six .div5 .row:nth-child(7) {
    transition-delay: 1200ms;
}

.page-six .title {
    position: relative;
}

.page-six .title-underline {
    position: absolute;
    left: 10px;
    top: 75px;
    background: #181947;
    width: 130px;
    height: 7px;
}

.page-six .name {
    font-weight: bold;
}

.page-six .address {
    margin-left: 25px;
    margin-top: 15px;
}

.page-six .phone {
    margin-left: 25px;
    margin-top: 15px;
}

.page-six .googlemaps {
    margin-left: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-six .googlemaps span a {
    text-decoration: none;
    color: white;
}

.page-six .googlemaps span {
    background: orangered;
    border-radius: 25px;
    padding: 3px 20px;
    cursor: pointer;
    padding: 8px 20px;
}

.page-six .social-link {
    margin-top: 10px;
    margin-left: 15px;
}

.page-six .social-link img {
    height: 35px !important;
    width: auto !important;
}

.page-six .social-link a {
    text-decoration: none;
    color: #000;
}

/* page - seven */
.page-footer {
    padding: 35px 90px;
    overflow: hidden;
    width: 100%;
    background: #eee;
}

.page-footer .title {
    position: relative;
}

.page-footer .title>div {
    color: #181947;
}

.page-footer .title-underline {
    position: absolute;
    left: 10px;
    top: 75px;
    background: #181947;
    width: 130px;
    height: 7px;
}

.page-footer-content-sv div:nth-child(1),
.page-footer-content-sba div:nth-child(1) {
    margin-bottom: 10px;
}

.page-footer-content-sv,
.page-footer-content-sba {
    font-size: 12pt;
    line-height: 1.7;
    color: #181947;
}

.page-footer-content-sv a,
.page-footer-content-sba a {
    color: #181947;
    text-decoration: none;
}

.page-footer-content-sv a:hover,
.page-footer-content-sba a:hover {
    color: #181947;
    text-decoration: underline;
}

.copyright {
    font-size: 12pt;
    font-family: 'sarabun';
    color: #181947;
}

.copyright-hr {
    color: #bbb;
}

.apply_btn a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.apply_btn {
    padding: 10px 30px;
    border-radius: 25px;
    background: orangered;
}


/* for animation/transition page */
.hidden {
    opacity: 0;
    filter: blur(5px);
    /* transform: translateY(100%); */
    transform: scale(0.95);
    transition: all 0.7s ease-in-out;
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: scale(1)
        /* transform: translateY(0); */
}
/* END */

/* for scroll enter button, back to top button */
.field {
    position: absolute;
    bottom: 80px;
    cursor: pointer;
}

.scroll {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #333;
    border-radius: 50%;
    position: relative;
    animation: down 1.5s infinite;
    -webkit-animation: down 1.5s infinite;

    &::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 18px;
        width: 18px;
        height: 18px;
        border-left: 2px solid #333;
        border-bottom: 2px solid #333;
        transform: rotate(-45deg);
    }
}

@keyframes down {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translateY(15px);
    }

    40% {
        transform: translate(0);
    }
}

@-webkit-keyframes down {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translateY(15px);
    }

    40% {
        transform: translate(0);
    }
}

.scroll-to-top-btn {
    transform: rotate(180deg);
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    cursor: pointer;
    display: none;
    /* Hidden by default */
}
/* END */

@media only screen and (max-width: 1440px) {
    .container-fluid {
        overflow-x: hidden !important;
    }
    .one {
        height: 90vh;
    }

    .three-content div div:nth-child(1) {
        margin-top: 1vh;
        font-size: 2vw;
        line-height: 1.5;
    }
    .three-content div div:nth-child(2) {
        font-size: 1.5vw;
    }
    .three-content div p {
        margin-top: 10px;
        font-size: 1.4vw;
        line-height: 1.5;
        color: #181947;
    }
    .four-content div div:nth-child(1) {
        margin-top: 1vh;
        font-size: 2vw;
        line-height: 1.5;
    }
    .four-content div div:nth-child(2) {
        margin-top: 1vh;
        font-size: 14pt;
        line-height: 1.5;
    }
    .four-content div p {
        margin-top: 10px;
        font-size: 1.4vw;
        line-height: 1.5;
        color: #181947;
    }
    .scholarship_img {
        width: 200px !important;
    }

    .five-content {
        padding-left: 20px;
        font-size: 1.2vw;
    }
    .five-content .row {
        line-height: 1.5;
        color: #181947;
    }
    .five-content .display-4 {
        font-size: 3.5vw;
    }
    .five .title-underline {
        position: absolute;
        right: 15px;
        top: 5vw;
        background: #181947;
        width: 200px;
        height: 5px;
    }

    .six-content .display-4 {
        font-size: 3.5vw;
        margin-bottom: 20px !important;
    }
    .six-content .title-underline {
        position: absolute;
        right: 15px;
        top: 4vw;
        background: #181947;
        width: 100px;
        height: 5px;
    }
    .six-content {
        font-size: 1.3vw;
    }
    .six-content .body {
        margin-top: 0px;
    }
    .six-content .address,
    .six-content .phone,
    .six-content .googlemaps {
        margin-top: 10px;
        line-height: 1.5;
    }

    .page-footer .title {
        margin-bottom: 0;
    }
    .page-footer .display-4 {
        font-size: 3.5vw;
    }
    .page-footer .title-underline {
        top: 5vw;
        width: 130px;
        height: 5px;
    }
    .page-footer-content-sv div:nth-child(1),
    .page-footer-content-sba div:nth-child(1) {
        margin-bottom: 5px;
    }
    .page-footer-content-sv,
    .page-footer-content-sba {
        font-size: 1.2vw;
        line-height: 2.2;
        color: #181947;
    }
    .copyright {
        font-size: 1.2vw;
    }
}
@media only screen and (max-width: 1180px) {
    .card-title span {
        font-size: 1.4vw;
    }
    .btn-readmore {
        width: 130px;
    }
    .three-content div div:nth-child(2),
    .four-content div div:nth-child(2) {
        font-size: 1.4vw;
    }
}
@media only screen and (max-width: 1024px) {
    
    /* two */
    .card-title span {
        font-size: 1.6vw;
    }
    .card-text {
        margin-top: 20px;
        font-size: 1.5vw;
    }

    .btn-readmore {
        font-size: 8pt;
        width: 100px;
        padding-top: 8px;
    }

    .three-content div div:nth-child(1),
    .four-content div div:nth-child(1) {
        font-size: 2vw;
    }
    .three-content div div:nth-child(2),
    .four-content div div:nth-child(2) {
        font-size: 1.5vw;
    }
    .three-content div p,
    .four-content div p  {
        font-size: 1.4vw;
    }
    .five-content .row {
        line-height: 1.2 !important;
        font-size: 1.4vw;
    }
}
@media only screen and (max-width: 430px) {
    .container-fluid {
        overflow-x: hidden !important;
    }
    .navbar {
        align-items: baseline;
    }
    .sticky-top .navbar-menu {
        display: none;
    }
    .sticky-top .navbar-menu a {
        padding: 10px 60px;
    }
    .ham-menu {
        position: absolute;
        right: 0px;
        display: block;
    }
    .navbar {
        flex-direction: column;
    }
    .navbar-menu-active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 50px;
        padding-top: 10px;
        width: 100%;
    }
    .navbar-menu-active a {
        padding: 10px;
    }

    .one-title .welcome-text {
        font-size: 5vw !important;
    }
    .one-title .schoolname-text {
        font-size: 10vw !important;
    }
    .one-subtitle {
        font-size: 4vw !important;
    }

    /* two */
    .card-title span {
        font-size: 4vw;
    }
    .card-text {
        margin-top: 20px;
        font-size: 4vw;
    }
    .btn-readmore {
        font-size: 12pt;
        width: 140px;
        padding-top: 5px;
    }

    .two-content {
        flex-direction: column;
    }

    .three .row {
        display: flex;
        flex-direction: column;
    }
    .three-content div p {
        font-size: 4vw;
    }
    .three img {
        width: 100%;
    }
    .three .sv-readmore {
        text-align: end;
        margin-bottom: 20px;
    }

    .four {
        padding: 15px !important;
    }    
    .four .row {
        display: flex;
        flex-direction: column-reverse;
    }
    .four-content div p {
        font-size: 4vw;
    }
    .four .img_group {
        width: 100% !important;
    }
    .four-content {
        position: relative;
    }
    .four .sba-readmore {
        text-align: start;
        margin-bottom: 20px;
    }

    .three-content div div:nth-child(1),
    .four-content div div:nth-child(1) {
        font-size: 4vw;
    }
    .three-content div div:nth-child(2),
    .four-content div div:nth-child(2) {
        font-size: 4vw;
    }
    .three-content div p,
    .four-content div p  {
        font-size: 4vw;
    }
    .scholarship_img {
        right: -12px;
        bottom: 20px;
        width: 35vw !important;
        height: auto !important;
        opacity: 1;
        z-index: -1;
    }

    .five {
        background: #eee;
        margin: 0 -12px;
    }
    .five .row {
        display: flex;
        flex-direction: column-reverse;
    }
    .five-content div p {
        font-size: 4vw;
    }
    .five img {
        width: 100%;
    }
    .five-content {
        padding-left: 20px;
        font-size: 4vw;
    }
    .five-content .display-4 {
        font-size: 6vw;
        margin-bottom: 10px !important;
    }
    .five .title-underline {
        right: 15px;
        top: 7vw;
        width: 100px;
        height: 3px;
    }
    .five-content .sub {
        margin-left: 30px;
        margin-top: 5px;
    }
    .five-content .row {
        font-size: 4vw;
        line-height: 1.5;
        color: #181947;
    }
    .five-content .row:not(:nth-child(1)) {
        border-bottom: 1px solid rgba(255, 69, 0, 0.5);
        padding-top: 7px;
        padding-bottom: 7px;
    }
    .five-content .row:nth-child(10) {
        border-bottom: none;
    }
    .five hr {
        display: none;
    }

    .page-six {
        display: flex;
        flex-direction: column;
    }
    .page-six .div1 {
        /* border: 1px solid red; */
        padding: 0px !important;  
    }
    .page-six .div2 {
        /* border: 1px solid red; */
        padding: 0px !important;   
    }
    .page-six img {
        width: 100%;
    }
    .six-content .display-4 {
        font-size: 6vw;
        margin-bottom: 10px !important;
    }
    .six-content .title {
        margin-bottom: 10px;
    }
    .six-content .title-underline {
        right: 15px;
        top: 7vw;
        width: 60px;
        height: 3px;
    }
    .six-content .name,
    .six-content .address,
    .six-content .phone,
    .six-content .googlemaps {
        font-size: 4vw;
    }

    .page-footer {
        padding: 20px !important;
    }
    .page-footer-content {
        display: flex;
        flex-direction: column;
    }
    .page-footer-content > div:nth-child(2) {
        border-top: 1px solid #bbb;
        margin-top: 20px !important;
        padding-top: 20px;
    }
    .page-footer .title {
        margin-bottom: 0;
    }
    .page-footer .display-4 {
        font-size: 6vw;
        margin-bottom: 20px !important;
    }
    .page-footer .title-underline {
        top: 7vw;
        width: 70px;
        height: 3px;
    }

    .page-footer-content-sv,
    .page-footer-content-sba {
        font-size: 4vw;
        line-height: 2.2;
        color: #181947;
        text-indent: 10px;
    }
    .copyright {
        font-size: 3vw;
    }
}


/* .page-seven {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    grid-template-areas:
        "div1 div2";
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    width: 100%;
    padding: 35px 35px;
    background: #eee;
}

.page-seven .div1 {
    grid-area: div1;
}

.page-seven .div2 {
    grid-area: div2;
}

.page-seven img {
    width: 100%;
    height: 100%;
}

.page-seven .div5 .row:nth-child(2){
    transition-delay: 200ms;
}
.page-seven .div5 .row:nth-child(3){
    transition-delay: 400ms;
}
.page-seven .div5 .row:nth-child(4){
    transition-delay: 600ms;
}
.page-seven .div5 .row:nth-child(5){
    transition-delay: 800ms;
}
.page-seven .div5 .row:nth-child(6){
    transition-delay: 1000ms;
}
.page-seven .div5 .row:nth-child(7){
    transition-delay: 1200ms;
}

.page-seven .title {
    position: relative;
}

.page-seven .title-underline {
    position: absolute;
    left: 10px;
    top: 75px;
    background: #181947;
    width: 130px;
    height: 7px;
} */

/* .one { display: none; }
.two { display: none; }
.three { display: none; }
.four { display: none; }
.five { display: none; }
.six { display: none; } */
/* .seven { display: none; } */