/* for section 1*/

.section1 {

    max-width: 1350px;

    padding-bottom: 2rem;

}

.section1 .navbar .logo {

    height: 4.2rem;

}

.navbar-toggler {

    z-index: 2;

}

.collapsing {

    height: 0;

    overflow: hidden;

    transition: height 0.35s ease;

}

.section1 .navbar .menu {

    justify-content: end;

}

.section1 .navbar .menu .navbar-nav {

    width: 85%;

    justify-content: space-between;

    /* align-items: center; */

}

.section1 .navbar-nav li a {

    text-decoration: none !important;
    font-family: "Kanit";

    font-style: normal;

    font-weight: 100;

    font-size: 20px;

    line-height: 30px;

    /* color: #ffffff !important; */

    cursor: pointer;

}

.section1 .navbar-nav li button {
    align-items: center;
    flex-direction: row;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgb(255, 255, 255) !important;
    color: black;
}
.section1 .navbar-nav li button:hover {
    background-color: #cccccccc !important;
    border-color: #cccccccc !important;
    color: black;
}

.section1 .navbar-nav li button i {

    font-size: 25px;

    vertical-align: middle;

}

.section1 .navbar-nav li button span {

    font-family: "Poppins";

    font-style: normal;

    font-weight: 500;

    font-size: 16px;

    line-height: 24px;

}

.section1 .navbar-nav li a.active {

    font-weight: 500;

    text-decoration: underline;

}

.section1 .content {

    margin-top: 1rem;

    height: 39rem;

    position: relative;

    padding-bottom: 6rem;

    padding-top: 5.5rem;

}

.section1 .content .swiper-content {

    display: flex;

    height: 100%;

    width: 100%;

    justify-content: space-between;

}

.section1 .content .swiper-content .left {

    width: 47%;

    text-align: left;

    padding: 1rem;

}

.section1 .content .swiper-content .left h1 {

    font-family: "Poppins";

    font-style: normal;

    font-weight: 700;

    font-size: 80px;

}

.section1 .content .swiper-content .left p {

    font-family: "Kanit";

    font-style: normal;

    font-weight: 100;

    font-size: 16px;

    line-height: 24px;

}

.section1 .content .swiper-content .left .button-group {

    display: flex;

}

.section1 .content .swiper-content .left button {

    align-items: center;

    min-width: 11rem;

    padding-inline: 1rem;

    flex-direction: row;

    display: flex;

    justify-content: center;

    gap: 0.5rem;

}
.section1 .content .swiper-content .left button:hover {
    background-color: #cccccccc !important;
    border-color: #cccccccc !important;
    color: black;
}

.section1 .content .swiper-content .left button i {

    font-size: 25px;

    vertical-align: middle;

}

.section1 .content .swiper-content .right {

    width: 47%;

}

.section1 .content .swiper-content .right img {

    object-fit: fill;

    margin-top: 3rem;

}

.section1 .swiper-pagination {

    text-align: left !important;

    position: relative;

    margin-top: 1rem;

    padding-left: 2rem;

}

/* for section 1*/



@media screen and (max-width: 1860px) {

    .sec1 .swiper-button-next {

        right: 100px;

    }

    .sec1 .swiper-button-prev {

        left: 100px;

    }

}

@media screen and (max-width: 1650px) {

    .section1 {

        max-width: 1100px !important;

    }

    .sec1 .swiper-button-next {

        right: 50px;

    }

    .sec1 .swiper-button-prev {

        left: 50px;

    }

    .section1 .navbar-nav li a {

        font-size: 16px !important;

    }

}

@media screen and (max-width: 1278px) {

    .section1 {

        max-width: 900px !important;

    }

    .sec1 .swiper-button-next {

        right: 50px;

    }

    .sec1 .swiper-button-prev {

        left: 50px;

    }

    .section1 .navbar .logo {

        height: 3rem !important;

    }

    .section1 .navbar .menu .navbar-nav {

        width: 95% !important;

    }

    .section1 .content .swiper-content .left h1 {

        font-size: 60px !important;

    }

    .section1 .content .swiper-content .left button span {

        font-size: 16px !important;

    }

    .section1 .btn {

        min-width: 9rem;

    }

    .section1 .content .swiper-content .right img {
        width: 80% !important;
    }

}

@media screen and (max-width: 1100px) {

    .section1 {

        max-width: 800px !important;

    }

    .section1 .btn {

        min-width: 8rem !important;

    }

    .section1 .navbar-nav li a {

        font-size: 14px !important;

    }

    .section1 .content .swiper-content .left h1 {

        font-size: 50px !important;

    }

    .section1 .content {

        height: auto !important;

        padding: 0 !important;

    }

    .section1 .content .swiper-content {

        flex-wrap: wrap !important;

        justify-content: center !important;

        gap: 2rem;

    }

    .section1 .content .swiper-content .left {

        width: 70% !important;

        order: 1;

    }

    .section1 .content .swiper-content .right {

        width: 100% !important;

        display: flex;

        justify-content: center;

    }

    .section1 .content .swiper-content .right img {

        width: 50% !important;

    }

}

@media screen and (max-width: 991px) {

    .section1 .content .swiper-content .left button {
        padding-inline: 0 !important;
    }

    .section1 {

        width: 100%;

    }

    .section1 .navbar {

        padding-top: 0.5rem !important;

    }

    .section1 .content .swiper-content .left h1 {

        font-size: 30px !important;

    }

    .section1 .content .swiper-content .left button span {

        font-size: 12px !important;

    }

    .sec1 .swiper-button-next {

        right: 25px;

    }

    .sec1 .swiper-button-prev {

        left: 25px;

    }

    .section1 .swiper-pagination {

        margin-left: 1rem;

    }



    .section1 .navbar .menu .navbar-nav {

        text-align: center;

        width: 100% !important;

    }

    .navbar-collapse {

        background-color: #ffffff52;

        padding: 1rem;

        margin-top: 1rem;

        border-radius: 1rem;

    }

    .navbar-nav .nav-button {

        display: flex;

        justify-content: center;

        margin-top: 1rem;

    }

    .section1 .navbar-nav li a {

        font-size: 20px !important;

        color: black !important;

        text-decoration: none;

        font-weight: 400;

    }

    .section1 .navbar-nav li button {

        background-color: #fc6803 !important;

        border: none;

        padding: 0.4rem;

    }

}

@media screen and (max-width: 440px) {
    .section1 .content .swiper-content .left button i {
        font-size: 18px;
    }
    .section1 .content .swiper-content .left button{
        gap: 0.2rem !important;
        min-width: 0rem !important;
        padding-inline: 0.3rem !important;
        margin-right: 0.3rem!important;
    }
}
@media screen and (max-width: 360px) {
    .section1 .content .swiper-content .left button i {
        font-size: 12px;
    }
    .section1 .content .swiper-content .left button span {
        font-size: 10px !important;
    }
}
