body {
    font-family: "Kanit", sans-serif;
}

.companyProfile_header {
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1)
        ),
        url("/images/Background_header_companyProfile.jpg");
    display: flex;
    background-size: cover;
    min-height: 100%;
}

.companyProfile_header h1 {
    color: #ffffff;
    font-size: 34px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 10%;
    font-weight: 300;
    font-style: normal;
}

.background_introduction {
    display: flex;
}

.background_introduction img {
    width: 100%;
    height: auto;
}

.image_logo,
.background_data_introduction {
    flex: 1 1 100%;
}

.image_logo {
    display: flex;
    align-items: center;
}

.background_data_introduction {
    display: flex;
    flex-direction: column;
    background-color: #f08030;
    padding: 20px;
    color: white;
    position: relative;
    text-align: center;
    justify-content: center;
    padding: 60px;
}

.background_data_introduction h1 {
    font-size: 24px;
    font-weight: 500;
    padding-bottom: 50px;
}

.background_data_introduction h2 {
    font-size: 23px;
    padding-bottom: 50px;
}

.background_data_introduction p {
    font-size: 20px;
}

.companyProfile_objective {
    background-color: #752f8b;
    display: flex;
}

.companyProfile_objective,
.companyProfile_objective_img {
    flex: 1 1 100%;
}

.companyProfile_objective_description {
    padding-left: 90px;
    color: white;
    font-style: normal;
}

.companyProfile_objective_description_mobile,
.companyProfile_objective_img_mobile {
    display: none;
}

.companyProfile_objective_description h1 {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    font-weight: 400;
    font-size: 32px;
}

.companyProfile_objective_description p {
    word-break: keep-all;
    white-space: normal;
    padding-bottom: 40px;
    font-weight: 300;
    font-size: 20px;
}

.companyProfile_objective_img {
    display: flex;
    padding: 70px 70px 70px 50px;
    justify-content: center;
}

.companyProfile_objective_img img {
    width: 500px;
    height: auto;
}

.companyProfile_team_background_img {
    background: linear-gradient(
            rgba(255, 255, 255, 0.5),
            rgba(255, 255, 255, 0.5)
        ),
        url(/images/companyProfile_team_background.jpg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center;
    min-height: min-content;
    align-items: center;
}

.companyProfile_team_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.companyProfile_team_background_img h1 {
    color: #752f8b;
    font-weight: 300;
    font-style: normal;
    padding-top: 40px;
    padding-bottom: 40px;
    display: block;
    text-align: center;
    font-weight: 400;
    font-size: 32px;
    width: 100%;
}

.companyProfile_team_background {
    background-color: #ffffff;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    width: auto;
    min-height: min-content;
    border-radius: 5px;
    width: 80%;
    margin-bottom: 80px;
    transition: background-color 0.3s ease;
    padding-bottom: 20px;
}

.companyProfile_team_description1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.companyProfile_team_description1 img {
    width: 125px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 30px;
}

.team_position_name p {
    color: #752f8b;
    font-size: 26px;
    text-align: center;
    padding-bottom: 40px;
}

.companyProfile_team_underline {
    background-color: #752f8b;
    width: 90%;
    height: 5px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.companyProfile_team_background:hover {
    background-color: #752f8b;
}

.companyProfile_team_background:hover .companyProfile_team_underline {
    background-color: white;
}

.companyProfile_team_background:hover p {
    color: #ffffff;
}

.organization_structure {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.organization_structure h1 {
    color: #752f8b;
    text-align: center;
    font-size: 34px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.organization_structure_image1 {
    display: flex;
    width: 100%;
    padding: 100px;
    justify-content: center;
}

.organization_structure_image2 {
    display: none;
}

.knowledge_management_system {
    background-color: #f28b20;
}

.knowledge_management_system {
    display: flex;
    background-color: #f28b20;
    padding: 80px 50px 80px 80px;
    justify-content: center;
    align-items: center;
}

.knowledge_management_system_image,
.knowledge_management_system_description {
    flex: 1 1 100%;
}

.knowledge_management_system_image {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.knowledge_management_system img {
    width: 500px;
}

.knowledge_management_system_description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.knowledge_management_system_description h1 {
    color: #ffffff;
    font-size: 30px;
}

.knowledge_management_system_description p {
    color: #ffffff;
    font-size: 18px;
    padding-top: 20px;
}

.operational_performance {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    background-color: #614b3c;
    padding-top: 20px;
    padding-bottom: 30px;
    padding-right: 140px;
}

.operational_performance_description1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 6;
    /* 70% ของความกว้างทั้งหมด */
}

.operational_performance_description2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 4;
}

.operational_performance_description1 {
    color: #ffffff;
    padding-left: 120px;
    padding-right: 120px;
}

.operational_performance_description1 h1 {
    font-size: 40px;
    font-weight: 400;
    padding-bottom: 50px;
}

.operational_performance_description1 p {
    font-size: 22px;
    font-weight: 300;
}

.operational_performance_description2 {
    padding-right: 50px;
}

.operational_performance_description2 img {
    width: 300px;
    padding-bottom: 40px;
}

.operational_performance_description2_button {
    background-color: #ffffff;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.operational_performance_description2_button p {
    color: #f28b20;
    font-size: 22px;
    padding: 25px 25px 25px 25px;
}

.operational_performance_description2_button:hover {
    background-color: #f28b20;
}

.operational_performance_description2_button:hover p {
    color: #ffffff;
}

.slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-top: 0px;
    justify-content: center;
    align-items: center;
}

.slide figure {
    position: relative;
    width: 600%;
    margin: 0px;
    left: 0px;
    animation: slide-animation 60s infinite linear;
}

.slide figure img {
    width: 16.66%;
    height: auto;
    float: left;
    object-fit: cover;
}

@keyframes slide-animation {
    0% {
        left: 0%;
    }
    20% {
        left: -100%;
    }
    40% {
        left: -200%;
    }
    60% {
        left: -300%;
    }
    80% {
        left: -400%;
    }
    100% {
        left: -500%;
    }
}

@media (min-width: 769px) and (max-width: 1030px) {
    .background_introduction {
        flex-direction: column;
    }

    .companyProfile_objective {
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }

    .companyProfile_objective_description {
        padding: 0;
    }

    .companyProfile_objective_description h1,
    .companyProfile_objective_img {
        display: none;
    }

    .companyProfile_objective_description_mobile,
    .companyProfile_objective_img_mobile {
        display: block;
    }

    .companyProfile_objective_description_mobile h1 {
        padding-bottom: 40px;
        text-align: center;
        font-weight: 400;
        font-size: 32px;
        color: #ffffff;
    }

    .companyProfile_objective_img_mobile img {
        width: 100%;
        margin-bottom: 50px;
    }

    .operational_performance {
        padding: 0;
    }

    .operational_performance_description1 {
        padding-left: 50px;
        padding-right: 50px;
    }

    .operational_performance_description1 h1 {
        font-size: 30px;
    }

    .operational_performance_description1 p {
        font-size: 20px;
    }

    .operational_performance_description2 {
        width: 100%;
        padding-right: 50px;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .background_introduction {
        flex-direction: column;
    }

    .background_data_introduction {
        padding: 30px;
    }

    .background_data_introduction h1 {
        font-size: 18px;
    }

    .background_data_introduction h2 {
        font-size: 18px;
    }

    .background_data_introduction p {
        font-size: 18px;
    }

    .companyProfile_objective {
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }

    .companyProfile_objective_description {
        padding: 10px;
    }

    .companyProfile_objective_description h1,
    .companyProfile_objective_img {
        display: none;
    }

    .companyProfile_objective_description_mobile,
    .companyProfile_objective_img_mobile {
        display: block;
    }

    .companyProfile_objective_description_mobile h1 {
        padding-bottom: 40px;
        text-align: center;
        font-weight: 400;
        font-size: 32px;
        color: #ffffff;
    }

    .companyProfile_objective_img_mobile img {
        width: 100%;
        margin-bottom: 50px;
    }

    .organization_structure_image1 {
        display: none;
    }

    .organization_structure_image2 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 10px;
        margin-bottom: 50px;
    }

    .knowledge_management_system {
        flex-direction: column;
        padding: 30px;
    }

    .operational_performance {
        flex-direction: column;
    }

    .knowledge_management_system_description {
        padding: 0;
        margin-top: 40px;
    }

    .knowledge_management_system_description h1 {
        font-size: 24px;
    }

    .knowledge_management_system_description p {
        font-size: 17px;
    }

    .operational_performance {
        padding: 0;
        justify-content: center;
    }

    .operational_performance_description1 {
        padding: 30px;
    }

    .operational_performance_description1 h1 {
        font-size: 25px;
        margin-top: 50px;
    }

    .operational_performance_description1 p {
        font-size: 17px;
    }

    .operational_performance_description2 {
        padding-right: 0;
    }

    .operational_performance_description2_button {
        margin-bottom: 60px;
    }
}
