/* for section 8*/
.section8 {
    display: flex;
    justify-content: center;
}
.section8 .container {
    max-width: 1350px;
    color: black;
    padding-top: 4rem;
    overflow: hidden;
    padding-bottom: 2rem;
}
.section8 h2.title {
    font-family: "Kanit";
    font-style: normal;
    font-weight: 600;
    font-size: 39.6px;
    line-height: 59px;
    text-align: center;
    margin-top: 3rem;
}
.section8 .content {
    height: 32rem;
    position: relative;
    padding-bottom: 2rem;
    padding-top: 8rem;
    display: flex;
    justify-content: space-between;
}
.section8 .footer-content {
    font-family: "Kanit";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #1e5bfa;
    padding-left: 1.5rem;
}

.section8 .content .left {
    width: 45%;
}
.section8 .content .left .title-name {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
    color: #fc6803;
    letter-spacing: 0.1em;
    padding-left: 1rem;
}
.section8 .content .left p {
    padding-left: 1.5rem;
    margin: 0;
    font-family: "Kanit";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #000000;
}
.section8 .content .right {
    display: flex;
    align-items: center;
    width: 48%;
    justify-content: space-between;
}
.section8 .content .right img {
    height: 60px;
}
.section8 .content .left .title-name img {
    height: 5rem;
}
iframe {
    width: 100%;
}
.footer {
    background: #1e5bfa;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -7px;
}
.footer span {
    font-family: "Kanit";
    font-style: normal;
    font-weight: 100;
    font-size: 20px;
    line-height: 30px;
    color: #ffffff;
}
/* for section 8*/
@media screen and (max-width: 1278px) {
    .section8 h2.title {
        margin-top: 0;
    }
    .section8 .content {
        padding-top: 5rem;
        padding-inline: 4rem;
    }
    .section8 .footer-content {
        padding-inline: 2rem;
    }
}
@media screen and (max-width: 992px) {
    .section8 .container {
        max-width: 800px;
    }
    .section8 .content {
        height: auto;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .section8 .content .left{
        width: 100%;
    }
    .section8 .content .right{
        width: 100%;
    }
    .section8 .content .left p {
        padding-left: 0;
    }
    .section8 .content .left .title-name {
        padding-left: 0;
    }
    .section8 .content {
        padding-top: 2rem;
    }
    .section8 .footer-content {
        margin-top: 2rem;
    }
}
@media screen and (max-width: 640px) {
    .section8 .content .right img {
        height: 40px;
    }
    .section8 .content {
        padding-inline: 1rem;
    }
    .section8 .footer-content {
        padding-inline: 1rem;
    }
}