* {
    box-sizing: border-box; /* ให้การจัดการขนาดทำงานได้ถูกต้อง */
}

.body-layout {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* กรอบใหญ่สุดกว้าง 100% */
}

.bglayout1 {
    background-color: #d4f3ee67;
    width: 100%; /* กรอบใหญ่สุดกว้าง 100% */
}

.bglayout2 {
    background-color: #fffdfd;
    width: 100%; /* กรอบใหญ่สุดกว้าง 100% */
}

.main-content {
    text-align: center;
    padding: 60px;
    width: 100%; /* กรอบใหญ่สุดกว้าง 100% */
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%; /* กรอบใหญ่สุดกว้าง 100% */
}

.service-item {
    display: inline-block; /* ให้ขนาดขึ้นอยู่กับเนื้อหา */
    background-color: #006666;
    color: #fff;
    padding: 10px 20px; /* เพิ่ม padding เพื่อเว้นระยะภายใน */
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05); /* เพิ่มการขยายขนาดเมื่อ hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* เพิ่มเงาให้ชัดขึ้นเมื่อ hover */
}
